]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Fix raw socket hardware checksum failures
authorPatrick McHardy <kaber@trash.net>
Wed, 17 Aug 2005 19:03:32 +0000 (12:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Aug 2005 19:03:32 +0000 (12:03 -0700)
commitfd2634c873a3f5330a7d45402f1937cecfc1cb99
tree600484f09f59126988fb153287bad7a27a511931
parent6fb1b78a08dc7b32075f4f21e654ca5c0c12842d
[IPV6]: Fix raw socket hardware checksum failures

When packets hit raw sockets the csum update isn't done yet, do it manually.
Packets can also reach rawv6_rcv on the output path through
ip6_call_ra_chain, in this case skb->ip_summed is CHECKSUM_NONE and this
codepath isn't executed.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/raw.c