1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

Set the IPv6 netisr handler as NETISR_MPSAFE on the basis that, despite

there still being some well-known races in mld6 and nd6, running with
Giant over the netisr handler provides little or not additional
synchronization that might cause mld6 and nd6 to behave better.
This commit is contained in:
Robert Watson 2008-07-02 23:12:40 +00:00
parent bff2d4d5ff
commit 0a2fe17365
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180197

View File

@ -180,7 +180,7 @@ ip6_init(void)
ip6intrq.ifq_maxlen = ip6qmaxlen;
mtx_init(&ip6intrq.ifq_mtx, "ip6_inq", NULL, MTX_DEF);
netisr_register(NETISR_IPV6, ip6_input, &ip6intrq, 0);
netisr_register(NETISR_IPV6, ip6_input, &ip6intrq, NETISR_MPSAFE);
scope6_init();
addrsel_policy_init();
nd6_init();