diff --git a/net/core/skbuff.c b/net/core/skbuff.c index d4b25d6fd01d..f3850c88cdda 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -4961,8 +4961,10 @@ void __skb_tstamp_tx(struct sk_buff *orig_skb, } else { skb = skb_clone(orig_skb, GFP_ATOMIC); - if (skb_orphan_frags_rx(skb, GFP_ATOMIC)) + if (skb_orphan_frags_rx(skb, GFP_ATOMIC)) { + kfree_skb(skb); return; + } } if (!skb) return;