aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>2018-04-26 09:42:18 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-27 13:38:48 -0400
commitb339c24ebfca87711237231984a9d8b9dcd3a81a (patch)
treedf5c98c7526f398991e0e6fd8fe7b4a4221ea84d /drivers/s390/net/qeth_core.h
parents390/qeth: extract csum offload helpers (diff)
downloadlinux-dev-b339c24ebfca87711237231984a9d8b9dcd3a81a.tar.xz
linux-dev-b339c24ebfca87711237231984a9d8b9dcd3a81a.zip
s390/qeth: disregard IPv4 header for RX csum offload
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>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r--drivers/s390/net/qeth_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index a8114758075f..2cfeae485a08 100644
--- 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