diff options
Diffstat (limited to 'net/packet/af_packet.c')
-rw-r--r-- | net/packet/af_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index d0936506b731..4cb2dfba0993 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -995,7 +995,7 @@ static int packet_create(struct net *net, struct socket *sock, int protocol) | |||
995 | sock->state = SS_UNCONNECTED; | 995 | sock->state = SS_UNCONNECTED; |
996 | 996 | ||
997 | err = -ENOBUFS; | 997 | err = -ENOBUFS; |
998 | sk = sk_alloc(net, PF_PACKET, GFP_KERNEL, &packet_proto, 1); | 998 | sk = sk_alloc(net, PF_PACKET, GFP_KERNEL, &packet_proto); |
999 | if (sk == NULL) | 999 | if (sk == NULL) |
1000 | goto out; | 1000 | goto out; |
1001 | 1001 | ||