Files
linux/drivers
Shan Wei 3f047e778b r8169: fix checksum broken
commit d5d3ebe3be upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09 13:33:35 -08:00
..
2010-09-28 23:30:38 -04:00
2010-10-13 15:43:10 -07:00
2010-08-24 15:28:28 +10:00
2010-12-09 13:33:33 -08:00
2010-12-09 13:33:35 -08:00
2010-12-09 13:33:13 -08:00
2010-06-16 18:08:32 +02:00
2010-06-01 12:04:35 -04:00
2010-06-16 18:05:05 +02:00
2010-09-22 16:21:33 +02:00
2010-07-26 08:05:31 -07:00