summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-03-23 23:07:56 +0000
committerrwatson <rwatson@FreeBSD.org>2006-03-23 23:07:56 +0000
commitca9322eb004cb4c274348373abcea11f597d4347 (patch)
treefa124ddc60867a945f1e4968e58b7cdfbea01c8a /sys/netipx
parent2b0d21fae435871bcb97cd52a823b403fb7a5a55 (diff)
downloadFreeBSD-src-ca9322eb004cb4c274348373abcea11f597d4347.zip
FreeBSD-src-ca9322eb004cb4c274348373abcea11f597d4347.tar.gz
When the kernel is compiled with options IPXIP, run the network stack
with Giant, as there is current unsafety in the IPX tunneled over IP code. There have been no reports of trouble, but there probably would be if anyone were running this code at high speed on SMP systems. MFC after: 3 days
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/ipx_ip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c
index d9551ce..c0b7076 100644
--- a/sys/netipx/ipx_ip.c
+++ b/sys/netipx/ipx_ip.c
@@ -75,6 +75,8 @@ __FBSDID("$FreeBSD$");
#include <netipx/ipx_ip.h>
#include <netipx/ipx_var.h>
+NET_NEEDS_GIANT("ipx_ip");
+
static struct ifnet ipxipif;
static int ipxipif_units;
OpenPOWER on IntegriCloud