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)
committerGuo-Fu Tseng <cooldavid@cooldavid.org>
Tue, 14 Dec 2010 16:02:52 +0000 (00:02 +0800)
commit1a0b42f41b88ca2b74138c83fb0d5485bb84b421
treebd31b3188eb0a12706f6b6300d8474fbcba057a2
parent8c61b2bcc4f6f9f825c298fa1cc1ce395cd77045
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>
jme.c
jme.h