Date: Wed, 22 Dec 2004 09:34:49 +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: <200412220934.iBM9Ynhq031847@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-12-22 09:34:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/netinet ip_output.c Log: Merge ip_output.c:1.236 from HEAD to RELENG_5: date: 2004/12/05 22:08:37; author: rwatson; state: Exp; lines: +14 -6 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.225.2.7 +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?200412220934.iBM9Ynhq031847>