cvs commit: src/sys/netinet udp_usrreq.c
Robert Watson
rwatson at FreeBSD.org
Mon Jul 7 12:28:07 UTC 2008
rwatson 2008-07-07 12:27:55 UTC
FreeBSD src repository
Modified files:
sys/netinet udp_usrreq.c
Log:
SVN rev 180348 on 2008-07-07 12:27:55Z by rwatson
Allow udp_notify() to accept read, as well as write, locks on the passed
inpcb. When directly invoking udp_notify() from udp_ctlinput(), acquire
only a read lock; we may still see write locks in udp_notify() as the
in_pcbnotifyall() routine is shared with TCP and always uses a write lock
on the inpcb being notified.
MFC after: 1 month
Revision Changes Path
1.228 +9 -3 src/sys/netinet/udp_usrreq.c
More information about the cvs-src
mailing list