Date: Sun, 21 Jun 2009 21:42:29 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netipx ipx.c Message-ID: <200906212142.n5LLgibO081727@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-06-21 21:42:29 UTC
FreeBSD src repository
Modified files:
sys/netipx ipx.c
Log:
SVN rev 194610 on 2009-06-21 21:42:29Z by rwatson
Add ipx_ifaddr locking to ipx_control(), which should close most
remaining potential races in ifconfig's management of IPX addresses.
This is largely accomplished by dropping a global write lock for the
IPX address list over the body of in_control(), although there are
some places we bump the refcount on an ifaddr of interest while
calling out to the routing code or link layer code, which might
require revisiting.
Annotate one as a potential race if two simultaneous delete ioctls
are issued for the same IPX addresses at once.
MFC after: 3 weeks
Revision Changes Path
1.39 +70 -27 src/sys/netipx/ipx.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906212142.n5LLgibO081727>
