summaryrefslogtreecommitdiffstats
path: root/drivers/net/8139cp.c
diff options
context:
space:
mode:
authorShan Wei <shanwei@cn.fujitsu.com>2010-11-12 01:15:25 +0100
committerDavid S. Miller <davem@davemloft.net>2010-11-17 21:21:14 +0100
commitd5d3ebe3be5c5123f2d444e186717f45284151e2 (patch)
tree54789aa8b662301a4483d27dcb86a0201aa7137b /drivers/net/8139cp.c
parentrds: Integer overflow in RDS cmsg handling (diff)
downloadlinux-d5d3ebe3be5c5123f2d444e186717f45284151e2.tar.xz
linux-d5d3ebe3be5c5123f2d444e186717f45284151e2.zip
r8169: fix checksum broken
If r8196 received packets with invalid sctp/igmp(not tcp, udp) checksum, r8196 set skb->ip_summed wit CHECKSUM_UNNECESSARY. This cause that upper protocol don't check checksum field. I am not family with r8196 driver. I try to guess the meaning of RxProtoIP and IPFail. RxProtoIP stands for received IPv4 packet that upper protocol is not tcp and udp. !(opts1 & IPFail) is true means that driver correctly to check checksum in IPv4 header. If it's right, I think we should not set ip_summed wit CHECKSUM_UNNECESSARY for my sctp packets with invalid checksum. If it's not right, please tell me. Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> Acked-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/8139cp.c')
0 files changed, 0 insertions, 0 deletions