cvs commit: src/sys/netinet ip_mroute.c
Sam Leffler
sam at FreeBSD.org
Wed Oct 29 11:15:01 PST 2003
sam 2003/10/29 11:15:00 PST
FreeBSD src repository
Modified files:
sys/netinet ip_mroute.c
Log:
Potential fix for races shutting down callouts when unloading
the module. Previously we grabbed the mutex used by the callouts,
then stopped the callout with callout_stop, but if the callout
was already active and blocked by the mutex then it would continue
later and reference the mutex after it was destroyed. Instead
stop the callout first then lock.
Supported by: FreeBSD Foundation
Revision Changes Path
1.94 +6 -2 src/sys/netinet/ip_mroute.c
More information about the cvs-src
mailing list