cvs commit: src/sys/netinet in_pcb.c src/sys/netinet6 in6_pcb.c

Robert Watson rwatson at FreeBSD.org
Sun Apr 6 21:20:56 UTC 2008


rwatson     2008-04-06 21:20:56 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in_pcb.c 
    sys/netinet6         in6_pcb.c 
  Log:
  In in_pcbnotifyall() and in6_pcbnotify(), use LIST_FOREACH_SAFE() and
  eliminate unnecessary local variable caching of the list head pointer,
  making the code a bit easier to read.
  
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.203     +2 -5      src/sys/netinet/in_pcb.c
  1.88      +2 -6      src/sys/netinet6/in6_pcb.c


More information about the cvs-src mailing list