cvs commit: src/sys/netinet in.c

Max Laier mlaier at FreeBSD.org
Fri Nov 12 20:53:51 GMT 2004


mlaier      2004-11-12 20:53:51 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in.c 
  Log:
  Change the way we automatically add prefix routes when adding a new address.
  This makes it possible to have more than one address with the same prefix.
  The first address added is used for the route. On deletion of an address
  with IFA_ROUTE set, we try to find a "fallback" address and hand over the
  route if possible.
  I plan to MFC this in 4 weeks, hence I keep the - now obsolete - argument to
  in_ifscrub as it must be considered KAPI as it is not static in in.c. I will
  clean this after the MFC.
  
  Discussed on:   arch, net
  Tested by:      many testers of the CARP patches
  Nits from:      ru, Andrea Campi <andrea+freebsd_arch webcom it>
  Obtained from:  WIDE via OpenBSD
  MFC after:      1 month
  
  Revision  Changes    Path
  1.78      +147 -27   src/sys/netinet/in.c


More information about the cvs-src mailing list