Date: Mon, 7 Jul 2008 12:27:55 +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 udp_usrreq.c Message-ID: <200807071228.m67CS7l2024737@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807071228.m67CS7l2024737>
