OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6195b93
)
s390/qeth: disregard IPv4 header for RX csum offload
author
Julian Wiedmann
<jwi@linux.vnet.ibm.com>
Thu, 26 Apr 2018 07:42:18 +0000
(09:42 +0200)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Apr 2018 17:38:48 +0000
(13:38 -0400)
The kernel does its own validation of the IPv4 header checksum,
drivers/HW are not required to handle this.
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
patch
|
blob
|
history
diff --git
a/drivers/s390/net/qeth_core.h
b/drivers/s390/net/qeth_core.h
index
a811475
..
2cfeae4
100644
(file)
--- a/
drivers/s390/net/qeth_core.h
+++ b/
drivers/s390/net/qeth_core.h
@@
-868,7
+868,6
@@
static inline void qeth_rx_csum(struct qeth_card *card, struct sk_buff *skb,
u8 flags)
{
if ((card->dev->features & NETIF_F_RXCSUM) &&
- (flags & QETH_HDR_EXT_CSUM_HDR_REQ) &&
(flags & QETH_HDR_EXT_CSUM_TRANSP_REQ))
skb->ip_summed = CHECKSUM_UNNECESSARY;
else