diff options
author | Davide Caratti <dcaratti@redhat.com> | 2017-05-18 15:44:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-19 19:21:29 -0400 |
commit | 219f1d79871257e9603f504dce0fe8ebf47aad08 (patch) | |
tree | 71816a805b465589c6fc35771307de49bc801354 /net/core | |
parent | b72b5bf6a8fc9065f270ae135bbd47abb9d96790 (diff) | |
download | blackbird-op-linux-219f1d79871257e9603f504dce0fe8ebf47aad08.tar.gz blackbird-op-linux-219f1d79871257e9603f504dce0fe8ebf47aad08.zip |
sk_buff: remove support for csum_bad in sk_buff
This bit was introduced with commit 5a21232983aa ("net: Support for
csum_bad in skbuff") to reduce the stack workload when processing RX
packets carrying a wrong Internet Checksum. Up to now, only one driver and
GRO core are setting it.
Suggested-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 8356d5f05f89..f0281ff45e77 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4678,9 +4678,6 @@ static enum gro_result dev_gro_receive(struct napi_struct *napi, struct sk_buff if (netif_elide_gro(skb->dev)) goto normal; - if (skb->csum_bad) - goto normal; - gro_list_prepare(napi, skb); rcu_read_lock(); |