sk_buff: remove support for csum_bad in sk_buff
This bit was introduced with commit 5a21232983
("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>
This commit is contained in:

committed by
David S. Miller

parent
b72b5bf6a8
commit
219f1d7987
@@ -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();
|
||||
|
Reference in New Issue
Block a user