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/netgraph/ng_tty.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/netgraph/ng_tty.c') diff --git a/sys/netgraph/ng_tty.c b/sys/netgraph/ng_tty.c index bd341da..9ae20a0 100644 --- a/sys/netgraph/ng_tty.c +++ b/sys/netgraph/ng_tty.c @@ -75,6 +75,8 @@ #include #include +NET_NEEDS_GIANT("ng_tty"); + /* Misc defs */ #define MAX_MBUFQ 3 /* Max number of queued mbufs */ #define NGT_HIWATER 400 /* High water mark on output */ -- cgit v1.1