From ca9322eb004cb4c274348373abcea11f597d4347 Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 23 Mar 2006 23:07:56 +0000 Subject: 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 --- sys/netipx/ipx_ip.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/netipx') 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 #include +NET_NEEDS_GIANT("ipx_ip"); + static struct ifnet ipxipif; static int ipxipif_units; -- cgit v1.1