Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: netbsd_snap_20…
Commits on Jul 22, 2001
  1. in_ifinit is already fixed for multipath.

    itojun authored
  2. rename function: rn_mpath_conflict() -> rt_mpath_conflict(), as it is

    itojun authored
    route.c layer, not radix.c layer.
  3. typo in comment

    itojun authored
  4. * sys/net/radix_mpath.c: (netbsd, RADIX_MPATH) reject RTM_ADD of

    itojun authored
      conflicting entries, where all key/mask/gw are the same.
  5. fix timeval_sub. tv_u?sec is signed, so it is safe to just subtract and

    itojun authored
    then adjust. (why use %lu on printing?  any particular reason?)
  6. make in_{add,scrub}prefix static.

    itojun authored
  7. ditto (IFA_ROUTE fix for p2p)

    itojun authored
  8. * netbsd/sys/netinet/in.c: improve IFA_ROUTE management, to make sure

    itojun authored
      multiple interface addresses with the same prefix (10.0.0.1/24 and
      10.0.0.2/24) works right.  i bothered as it is mandatory with
      RADIX_MPATH environment, and netbsd-current is moving toward this
      direction.  netbsd only.
      - on interface address addition, check if there's the same prefix
        already installed, and if so, don't install another one
      - on removal, check if there's other interface address which has the
        same prefix, and if so, move IFA_ROUTE to him
  9. improve IFA_ROUTE management, so that:

    itojun authored
    - on insertion check if there's the same prefix already installed, and
      if so, don't install another one
    - on removal check if there's other interface address which has the same
      prefix, and if so, move IFA_ROUTE to him
  10. duplicated comment

    itojun authored
  11. do not install interface default route, if the default router list is…

    itojun authored
    … filled.
    
    from jinmei
  12. English grammar in a comment line.

    jinmei authored
Commits on Jul 21, 2001
  1. multiple interface address does not work well with RADIX_MPATH, so add

    itojun authored
    it to the issues (should fix in_ifinit following IPv6 counterpart)
  2. missing \n in log() call

    itojun authored
  3. missing \n in log

    itojun authored
  4. better support for multiple IPv4 addresses on a single interface.

    itojun authored
    - consider non-primary (2nd and beyond) IPv4 address as "local", and prevent
      outgoing ARP.
    - for routing entries generated by ARP, make sure to set rt->rt_ifa equal to
      rt_key, to help IPv4 source address selection for traffic to myself.
    NetBSD PR 13311.  sync with netbsd-current
  5. again. test before commit >me

    itojun authored
  6. repair genmask validation. another question is, is the check really

    itojun authored
    necessary (DIAGNOSTIC?)
  7. fix genmask (my bad)

    itojun authored
  8. fix RTAX_GENMASK route insertion. the code seems to be buggy since 4.…

    itojun authored
    …3 -> 4.4
    
    sockaddr transition.  freebsd3 fixes it, but the code was never integrated
    to other *BSDs (ah, waste of human resources again...)
  9. fix the behavior in the following scneario, by remembering which ifa we

    itojun authored
    have used for last-resort default route:
    - last-resort default route is installed baesed on ifaddr *ifa
    - the ifaddr is removed
    - we try to remove last-resort default, but we can't
  10. cosmetic

    itojun authored
  11. more comment

    itojun authored
  12. sort-of duplicated comment in defrouter_select

    itojun authored
  13. add missing splx. make sure to remove last-resort default route if

    itojun authored
    there's default route based on default router list.
  14. comment

    itojun authored
  15. more cleanup in defrouter_select

    itojun authored
  16. cleanup an obsoleted fragment; removed old source address selection

    jinmei authored
    rule for NS (which had already been disalbed by '#if 0')
Something went wrong with that request. Please try again.