Mark netatm and netnatm explicitly as requiring Giant, as they still do.

MFC after:	3 days
This commit is contained in:
Robert Watson 2005-02-17 14:21:22 +00:00
parent 1e8f89541e
commit 1eb7608e00
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,8 @@ __FBSDID("$FreeBSD$");
#include <netatm/atm_pcb.h>
#include <netatm/atm_var.h>
NET_NEEDS_GIANT("netatm");
struct protosw atmsw[] = {
{ SOCK_DGRAM, /* ioctl()-only */
&atmdomain,

View File

@ -56,6 +56,8 @@ extern struct domain natmdomain;
static void natm_init(void);
NET_NEEDS_GIANT("netnatm");
static struct protosw natmsw[] = {
{ SOCK_STREAM, &natmdomain, PROTO_NATMAAL5, PR_CONNREQUIRED,
0, 0, 0, 0,