summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-07-02 23:12:40 +0000
committerrwatson <rwatson@FreeBSD.org>2008-07-02 23:12:40 +0000
commita2caa98b9568eea606d112d9042d80125e5adbb4 (patch)
tree22fb41f26c3e8649521d0db979484ad6431d3183 /sys/netinet6
parentd3e39bd522f74f1b96e7a7ee05e8c09554918ea8 (diff)
downloadFreeBSD-src-a2caa98b9568eea606d112d9042d80125e5adbb4.zip
FreeBSD-src-a2caa98b9568eea606d112d9042d80125e5adbb4.tar.gz
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.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index c989c89..89b2760 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -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();
OpenPOWER on IntegriCloud