diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/ip_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_queue.c b/net/ipv4/netfilter/ip_queue.c index 213d116e5bb9..198ac36db861 100644 --- a/net/ipv4/netfilter/ip_queue.c +++ b/net/ipv4/netfilter/ip_queue.c | |||
@@ -515,7 +515,7 @@ ipq_rcv_skb(struct sk_buff *skb) | |||
515 | if (type <= IPQM_BASE) | 515 | if (type <= IPQM_BASE) |
516 | return; | 516 | return; |
517 | 517 | ||
518 | if (security_netlink_recv(skb)) | 518 | if (security_netlink_recv(skb, CAP_NET_ADMIN)) |
519 | RCV_SKB_FAIL(-EPERM); | 519 | RCV_SKB_FAIL(-EPERM); |
520 | 520 | ||
521 | write_lock_bh(&queue_lock); | 521 | write_lock_bh(&queue_lock); |