From 289252d030a4f6aa41afcc5c6354239cfdaac243 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sat, 28 Aug 2004 15:24:53 +0000 Subject: Mark Netgraph TTY, KAME IPSEC, and IPX/SPX as requiring Giant for correct operation using NET_NEEDS_GIANT(). This will result in a boot-time restoration of Giant-enabled network operation, or run-time warning on dynamic load (applicable only to the Netgraph component). Additional components will likely need to be marked with this in the future. --- sys/netinet6/ipsec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/netinet6/ipsec.c') diff --git a/sys/netinet6/ipsec.c b/sys/netinet6/ipsec.c index 13d2feb..6f3dd5c 100644 --- a/sys/netinet6/ipsec.c +++ b/sys/netinet6/ipsec.c @@ -110,6 +110,8 @@ int ipsec_debug = 1; int ipsec_debug = 0; #endif +NET_NEEDS_GIANT("ipsec"); + struct ipsecstat ipsecstat; int ip4_ah_cleartos = 1; int ip4_ah_offsetmask = 0; /* maybe IP_DF? */ -- cgit v1.1