cvs commit: src/sys/net if.c if_atmsubr.c if_stf.c if_tun.c src/sys/netinet if_ether.c ip_divert.c ip_fw2.c src/sys/netinet6 in6.c in6_var.h src/sys/nfsclient bootp_subr.c nfs_diskless.c

Yar Tikhiy yar at FreeBSD.org
Thu Jun 29 22:56:50 UTC 2006


yar         2006-06-29 19:22:05 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if.c if_atmsubr.c if_stf.c if_tun.c 
    sys/netinet          if_ether.c ip_divert.c ip_fw2.c 
    sys/netinet6         in6.c in6_var.h 
    sys/nfsclient        bootp_subr.c nfs_diskless.c 
  Log:
  There is a consensus that ifaddr.ifa_addr should never be NULL,
  except in places dealing with ifaddr creation or destruction; and
  in such special places incomplete ifaddrs should never be linked
  to system-wide data structures.  Therefore we can eliminate all the
  superfluous checks for "ifa->ifa_addr != NULL" and get ready
  to the system crashing honestly instead of masking possible bugs.
  
  Suggested by:   glebius, jhb, ru
  
  Revision  Changes    Path
  1.260     +4 -6      src/sys/net/if.c
  1.43      +2 -2      src/sys/net/if_atmsubr.c
  1.56      +0 -2      src/sys/net/if_stf.c
  1.157     +13 -18    src/sys/net/if_tun.c
  1.153     +1 -1      src/sys/netinet/if_ether.c
  1.119     +0 -2      src/sys/netinet/ip_divert.c
  1.140     +0 -4      src/sys/netinet/ip_fw2.c
  1.62      +0 -6      src/sys/netinet6/in6.c
  1.29      +0 -2      src/sys/netinet6/in6_var.h
  1.66      +5 -4      src/sys/nfsclient/bootp_subr.c
  1.16      +2 -2      src/sys/nfsclient/nfs_diskless.c


More information about the cvs-src mailing list