[PATCH] via-velocity: use NETIF_F_IP_CSUM (hardware only support IPv4)

At least some versions of the via-velocity hardware only support
checksumming IPv4 frames in hardware. However, the driver is currently
setting the NETIF_F_HW_CSUM flag, which indicates support for more than
just IPv4. This results in errors when trying to use IPv6 over
via-velocity hardware.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

authored by John W. Linville and committed by Jeff Garzik 9f3f46b5 c9fa7d5d

+1 -1
+1 -1
drivers/net/via-velocity.c
··· 791 791 #endif 792 792 793 793 if (vptr->flags & VELOCITY_FLAGS_TX_CSUM) { 794 - dev->features |= NETIF_F_HW_CSUM; 794 + dev->features |= NETIF_F_IP_CSUM; 795 795 } 796 796 797 797 ret = register_netdev(dev);