Skip to content

Commit

Permalink
[PATCH] via-velocity: use NETIF_F_IP_CSUM (hardware only support IPv4)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John W. Linville authored and Jeff Garzik committed Jan 12, 2006
1 parent c9fa7d5 commit 9f3f46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/via-velocity.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9f3f46b

Please sign in to comment.