From: John W. Linville Date: Fri, 9 Dec 2005 15:36:09 +0000 (-0500) Subject: [PATCH] via-velocity: use NETIF_F_IP_CSUM (hardware only support IPv4) X-Git-Tag: MMI-PSA29.97-13-9~52905^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f3f46b5fe83a56d380d4006dd2cd906bc186f91;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index 82c6b757d306..c2d5907dc8e0 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c @@ -791,7 +791,7 @@ static int __devinit velocity_found1(struct pci_dev *pdev, const struct pci_devi #endif if (vptr->flags & VELOCITY_FLAGS_TX_CSUM) { - dev->features |= NETIF_F_HW_CSUM; + dev->features |= NETIF_F_IP_CSUM; } ret = register_netdev(dev);