summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2009-03-17 14:41:54 +0000
committerbms <bms@FreeBSD.org>2009-03-17 14:41:54 +0000
commitf2006dd38eca49261f8ba0667effe1c031a2340e (patch)
tree4444692ce50888b76520e75f771088f2323c6442 /usr.bin
parent09ece7e11668779e8400060a5e793f30272f0aee (diff)
downloadFreeBSD-src-f2006dd38eca49261f8ba0667effe1c031a2340e.zip
FreeBSD-src-f2006dd38eca49261f8ba0667effe1c031a2340e.tar.gz
Deal with the case where ifma_protospec may be NULL, during
any IPv4 multicast operations which reference it. There is a potential race because ifma_protospec is set to NULL when we discover the underlying ifnet has gone away. This write is not covered by the IF_ADDR_LOCK, and it's difficult to widen its scope without making it a recursive lock. It isn't clear why this manifests more quickly with 802.11 interfaces, but does not seem to manifest at all with wired interfaces. With this change, the 802.11 related panics reported by sam@ and cokane@ should go away. It is not the right fix, that requires more thought before 8.0. Idea from: sam Tested by: cokane
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud