diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-08-28 15:24:53 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-08-28 15:24:53 +0000 |
commit | 289252d030a4f6aa41afcc5c6354239cfdaac243 (patch) | |
tree | 1c8237e7bd7fd5f60b3c8ac20e9fd5a425d5f328 /sys/netinet6/ipsec.c | |
parent | fc8849df2ffdb8ac50b59b415847d50cf53186c1 (diff) | |
download | FreeBSD-src-289252d030a4f6aa41afcc5c6354239cfdaac243.zip FreeBSD-src-289252d030a4f6aa41afcc5c6354239cfdaac243.tar.gz |
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.
Diffstat (limited to 'sys/netinet6/ipsec.c')
-rw-r--r-- | sys/netinet6/ipsec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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? */ |