]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the mli_relinmhead list normally used to defer calls to
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 4 Jan 2012 13:35:20 +0000 (13:35 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 4 Jan 2012 13:35:20 +0000 (13:35 +0000)
commit19b0c9b24697aeef40bbbc1ca767c54dbdad9950
tree2b8a3e73eb9ab68cfe8f69e13dbb1b9652fb06cf
parent0f188ebb1df784c01aa0f95b5a76940939c4d2c2
Use the mli_relinmhead list normally used to defer calls to
in6m_release_locked() to defer calls to mld_v1_transmit_report() until
after the IF_ADDR_LOCK is dropped.  This removes a race where the lock
is dropped and reacquired while attempting to walk an interface's
address list.

Reviewed by: bz
MFC after: 1 week
sys/netinet6/mld6.c