cvs commit: src/sys/netinet6 in6_pcb.c in6_src.c

Robert Watson rwatson at FreeBSD.org
Tue Apr 25 12:09:59 UTC 2006


rwatson     2006-04-25 12:09:58 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         in6_pcb.c in6_src.c 
  Log:
  Move lock assertions to top of in6_pcbladdr(): we still want them to run
  even if we're going to return an argument-based error.
  
  Assert pcbinfo lock in in6_pcblookup_local(), in6_pcblookup_hash(), since
  they walk pcbinfo inpcb lists.
  
  Assert inpcb and pcbinfo locks in in6_pcbsetport(), since
  port reservations are changing.
  
  MFC after:      3 months
  
  Revision  Changes    Path
  1.70      +7 -3      src/sys/netinet6/in6_pcb.c
  1.37      +3 -0      src/sys/netinet6/in6_src.c


More information about the cvs-src mailing list