cvs commit: src/sys/netinet in_pcb.c
rwatson at FreeBSD.org
Sat Apr 22 19:10:04 UTC 2006
rwatson 2006-04-22 19:10:03 UTC
FreeBSD src repository
Remove pcbinfo locking from in_setsockaddr() and in_setpeeraddr();
holding the inpcb lock is sufficient to prevent races in reading
the address and port, as both the inpcb lock and pcbinfo lock are
required to change the address/port.
Improve consistency of spelling in assertions about inp != NULL.
MFC after: 3 months
Revision Changes Path
1.173 +4 -6 src/sys/netinet/in_pcb.c
More information about the cvs-src