]> Git Repo - linux.git/commit
forcedeth: fix checksum flag
authorAyaz Abdulla <[email protected]>
Wed, 20 Aug 2008 23:34:37 +0000 (16:34 -0700)
committerJeff Garzik <[email protected]>
Wed, 27 Aug 2008 09:55:04 +0000 (05:55 -0400)
commitedcfe5f7e307846e578fb88d69fa27051fded0ab
tree8aa30370ad87f448d503de2d4d08eb8f8afb0680
parent1025433147e635af9cd150676a097396cf666ddb
forcedeth: fix checksum flag

Fix the checksum feature advertised in device flags.  The hardware support
TCP/UDP over IPv4 and TCP/UDP over IPv6 (without IPv6 extension headers).
However, the kernel feature flags do not distinguish IPv6 with/without
extension headers.

Therefore, the driver needs to use NETIF_F_IP_CSUM instead of
NETIF_F_HW_CSUM since the latter includes all IPv6 packets.

A future patch can be created to check for extension headers and perform
software checksum calculation.

Signed-off-by: Ayaz Abdulla <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Manfred Spraul <[email protected]
Cc: <[email protected]> [2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
drivers/net/forcedeth.c
This page took 0.051224 seconds and 4 git commands to generate.