Mark netatm and netnatm explicitly as requiring Giant, as they still do.
MFC after: 3 days
This commit is contained in:
parent
1e8f89541e
commit
1eb7608e00
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user