aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/netfilter/ip_conntrack_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_netlink.c b/net/ipv4/netfilter/ip_conntrack_netlink.c
index bf584249571a..d1dde1417ef7 100644
--- a/net/ipv4/netfilter/ip_conntrack_netlink.c
+++ b/net/ipv4/netfilter/ip_conntrack_netlink.c
@@ -779,7 +779,7 @@ ctnetlink_get_conntrack(struct sock *ctnl, struct sk_buff *skb,
779 ct = tuplehash_to_ctrack(h); 779 ct = tuplehash_to_ctrack(h);
780 780
781 err = -ENOMEM; 781 err = -ENOMEM;
782 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); 782 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL);
783 if (!skb2) { 783 if (!skb2) {
784 ip_conntrack_put(ct); 784 ip_conntrack_put(ct);
785 return -ENOMEM; 785 return -ENOMEM;