cvs commit: src/sys/netinet6 in6_pcb.c

Robert Watson rwatson at FreeBSD.org
Sat Apr 15 05:24:23 UTC 2006


rwatson     2006-04-15 05:24:23 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         in6_pcb.c 
  Log:
  Mirror IPv4 pcb locking into in6_setsockaddr() and in6_setpeeraddr():
  acquire inpcb lock when reading inpcb port+address in order to prevent
  races with other threads that may be changing them.
  
  MFC after:      3 months
  
  Revision  Changes    Path
  1.68      +4 -0      src/sys/netinet6/in6_pcb.c


More information about the cvs-src mailing list