Date: Sat, 25 Apr 2009 23:02:57 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet in.c Message-ID: <200904252303.n3PN31sY047004@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-04-25 23:02:57 UTC
FreeBSD src repository
Modified files:
sys/netinet in.c
Log:
SVN rev 191500 on 2009-04-25 23:02:57Z by rwatson
Expand coverage of IF_ADDR_LOCK() in in_control() from point of initial
lookup of 'ia' from if_addrhead through most use. Note that we
currently have to drop it prematurely in some cases due to calls out to
the routing and interface code while using 'ia', but this closes many
races. Annotate several potential races that persist after this change.
Move to using M_NOWAIT for allocating new interface addresses due to
lock(s) being held.
MFC after: 3 weeks
Revision Changes Path
1.129 +81 -31 src/sys/netinet/in.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904252303.n3PN31sY047004>
