diff --git a/net/core/dev.c b/net/core/dev.c index ba3b7ea5ebb3139cca38e82ac6f5f5e346f4a4e0..c98052487e986df6657e32da066630e95d3557bb 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3981,8 +3981,7 @@ struct sk_buff *napi_get_frags(struct napi_struct *napi) if (!skb) { skb = netdev_alloc_skb_ip_align(napi->dev, GRO_MAX_HEAD); - if (skb) - napi->skb = skb; + napi->skb = skb; } return skb; }