diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-03-23 23:07:56 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-03-23 23:07:56 +0000 |
commit | ca9322eb004cb4c274348373abcea11f597d4347 (patch) | |
tree | fa124ddc60867a945f1e4968e58b7cdfbea01c8a /sys/netipx | |
parent | 2b0d21fae435871bcb97cd52a823b403fb7a5a55 (diff) | |
download | FreeBSD-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.c | 2 |
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; |