cvs commit: src/sys/net if_vlan.c
Bruce M Simpson
bms at FreeBSD.org
Sun Jul 4 11:32:54 PDT 2004
bms 2004-07-04 18:32:54 UTC
FreeBSD src repository
Modified files:
sys/net if_vlan.c
Log:
Workaround a locking problem in vlan(4). vlan_setmulti() may be called
with sleepable locks held from further up in the network stack, and
attempts to allocate memory to hold multicast group membership information
with M_WAITOK.
This panic was triggered specifically when an exiting routing daemon
process closes its raw sockets after joining multicast groups on them.
While we're here, comment some possible locking badness.
PR: kern/48560
Revision Changes Path
1.69 +11 -2 src/sys/net/if_vlan.c
More information about the cvs-src
mailing list