diff options
Diffstat (limited to 'net/netlink/af_netlink.c')
-rw-r--r-- | net/netlink/af_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index faa48f70b7c9..da8721443503 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -866,7 +866,7 @@ static struct sk_buff *netlink_trim(struct sk_buff *skb, gfp_t allocation) | |||
866 | struct sk_buff *nskb = skb_clone(skb, allocation); | 866 | struct sk_buff *nskb = skb_clone(skb, allocation); |
867 | if (!nskb) | 867 | if (!nskb) |
868 | return skb; | 868 | return skb; |
869 | kfree_skb(skb); | 869 | consume_skb(skb); |
870 | skb = nskb; | 870 | skb = nskb; |
871 | } | 871 | } |
872 | 872 | ||