Date: Sat, 22 Apr 2006 19:10:03 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <200604221910.k3MJA3Ia062866@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-04-22 19:10:03 UTC
FreeBSD src repository
Modified files:
sys/netinet in_pcb.c
Log:
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604221910.k3MJA3Ia062866>
