diff options
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index a215269d2e35..d8befd06da04 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1734,7 +1734,7 @@ EXPORT_SYMBOL(netif_device_attach); | |||
1734 | 1734 | ||
1735 | static bool can_checksum_protocol(unsigned long features, __be16 protocol) | 1735 | static bool can_checksum_protocol(unsigned long features, __be16 protocol) |
1736 | { | 1736 | { |
1737 | return ((features & NETIF_F_NO_CSUM) || | 1737 | return ((features & NETIF_F_GEN_CSUM) || |
1738 | ((features & NETIF_F_V4_CSUM) && | 1738 | ((features & NETIF_F_V4_CSUM) && |
1739 | protocol == htons(ETH_P_IP)) || | 1739 | protocol == htons(ETH_P_IP)) || |
1740 | ((features & NETIF_F_V6_CSUM) && | 1740 | ((features & NETIF_F_V6_CSUM) && |