On 20 March 2012 00:15, John Baldwin <j...@freebsd.org> wrote: > Author: jhb > Date: Mon Mar 19 20:15:18 2012 > New Revision: 233199 > URL: http://svn.freebsd.org/changeset/base/233199 > > Log: > MFC 225096: > Fix if_addr_mtx recursion in mld6.
Ehh.. Thank you for doing this. As I mentioned earlier I could not reproduce this problem myself in RELENG_8, that's why it was not MFCed so far... > > mld_set_version() is called only from mld_v1_input_query() and > mld_v2_input_query() both holding the if_addr_mtx lock, and then calling > into mld_v2_cancel_link_timers() acquires it the second time, which results > in mtx recursion. To avoid that, delay if_addr_mtx acquisition until after > mld_set_version() is called; while here, further reduce locking scope > to protect only the needed pieces: if_multiaddrs, in6m_lookup_locked(). [...] -- wbr, pluknet _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"