cvs commit: src/sys/netinet in.c
Robert Watson
rwatson at FreeBSD.org
Mon Oct 3 04:09:40 PDT 2005
rwatson 2005-10-03 11:09:40 UTC
FreeBSD src repository
Modified files:
sys/netinet in.c
Log:
Acquire Giant conditionally in in_addmulti() and in_delmulti() based on
whether the interface being accessed is IFF_NEEDSGIANT or not. This
avoids lock order reversals when calling into the interface ioctl
handler, which could potentially lead to deadlock.
The long term solution is to eliminate non-MPSAFE network drivers.
Discussed with: jhb
MFC after: 1 week
Revision Changes Path
1.89 +9 -0 src/sys/netinet/in.c
More information about the cvs-src
mailing list