From: Julian Wiedmann Date: Thu, 26 Apr 2018 07:42:18 +0000 (+0200) Subject: s390/qeth: disregard IPv4 header for RX csum offload X-Git-Tag: v4.19~872^2~369^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b339c24ebfca87711237231984a9d8b9dcd3a81a;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index a811475..2cfeae4 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