]> err.no Git - linux-2.6/commit
[IPV4] udp: trim forgets about CHECKSUM_HW
authorStephen Hemminger <shemminger@osdl.org>
Thu, 8 Sep 2005 19:32:21 +0000 (12:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Sep 2005 19:32:21 +0000 (12:32 -0700)
commite308e25c97f06cf704e65eeb773412f5460a3b93
tree295885afa3300455fa1b7cb0dd18a543d73fc744
parent0e4e4220f10bf8f58a8606f0cb28538088c64b1a
[IPV4] udp: trim forgets about CHECKSUM_HW

A UDP packet may contain extra data that needs to be trimmed off.
But when doing so, UDP forgets to fixup the skb checksum if CHECKSUM_HW
is being used.

I think this explains the case of a NFS receive using skge driver
causing 'udp hw checksum failures' when interacting with a crufty
settop box.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c