diff options
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 7dec715293b1..60377b6c0a80 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -2491,12 +2491,6 @@ EXPORT_SYMBOL(napi_gro_receive); | |||
2491 | 2491 | ||
2492 | void napi_reuse_skb(struct napi_struct *napi, struct sk_buff *skb) | 2492 | void napi_reuse_skb(struct napi_struct *napi, struct sk_buff *skb) |
2493 | { | 2493 | { |
2494 | skb_shinfo(skb)->nr_frags = 0; | ||
2495 | |||
2496 | skb->len -= skb->data_len; | ||
2497 | skb->truesize -= skb->data_len; | ||
2498 | skb->data_len = 0; | ||
2499 | |||
2500 | __skb_pull(skb, skb_headlen(skb)); | 2494 | __skb_pull(skb, skb_headlen(skb)); |
2501 | skb_reserve(skb, NET_IP_ALIGN - skb_headroom(skb)); | 2495 | skb_reserve(skb, NET_IP_ALIGN - skb_headroom(skb)); |
2502 | 2496 | ||