Date: Sun, 5 Dec 2004 22:08:37 +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 ip_output.c Message-ID: <200412052208.iB5M8b24021063@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-12-05 22:08:37 UTC FreeBSD src repository Modified files: sys/netinet ip_output.c Log: Pass the inpcb reference into ip_getmoptions() rather than just the inp->inp_moptions pointer, so that ip_getmoptions() can perform necessary locking when doing non-atomic reads. Lock the inpcb by default to copy any data to local variables, then unlock before performing sooptcopyout(). MFC after: 2 weeks Revision Changes Path 1.236 +14 -6 src/sys/netinet/ip_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412052208.iB5M8b24021063>