diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index faa48f70b7c9b132bfaf3c8ce561982e82c4c7b6..da8721443503a6e529919ed7faf4a64ed2133d3c 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) struct sk_buff *nskb = skb_clone(skb, allocation); if (!nskb) return skb; - kfree_skb(skb); + consume_skb(skb); skb = nskb; }