net: Fix too optimistic NETIF_F_HW_CSUM features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 30 Nov 2010 06:38:00 +0000 (06:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Dec 2010 20:59:04 +0000 (12:59 -0800)
commit7903264402546f45f9bac8ad2bfdb00d00eb124a
tree32076a169b37ce9c98916ed2d702de5cab1aeb6c
parent900d495a189dc3ff5952b98a77d18e3018f8286c
net: Fix too optimistic NETIF_F_HW_CSUM features

NETIF_F_HW_CSUM is a superset of NETIF_F_IP_CSUM+NETIF_F_IPV6_CSUM, but
some drivers miss the difference. Fix this and also fix UFO dependency
on checksumming offload as it makes the same mistake in assumptions.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
drivers/net/benet/be_main.c
drivers/net/bnx2x/bnx2x_main.c
drivers/net/jme.c
drivers/net/pch_gbe/pch_gbe_ethtool.c
drivers/net/pch_gbe/pch_gbe_main.c
drivers/net/sc92031.c
drivers/net/stmmac/stmmac_ethtool.c
drivers/net/stmmac/stmmac_main.c
drivers/net/vxge/vxge-ethtool.c
drivers/net/vxge/vxge-main.c
net/core/dev.c
net/core/ethtool.c