]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: correct IPv6 checksum after pull
authorstephen hemminger <shemminger@vyatta.com>
Tue, 15 Nov 2011 08:09:14 +0000 (08:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2011 22:32:43 +0000 (17:32 -0500)
commit9f84e115a8c36a26006212fd057a13878ddb786f
treee1c89ec5c3e0d2bf279c6c9f1a427949c5286baf
parente1b86e04bb3a3fea34ba9944dfc155cab559b6c8
bridge: correct IPv6 checksum after pull

Bridge multicast snooping of ICMPv6 would incorrectly report a checksum problem
when used with Ethernet devices like sky2 that use CHECKSUM_COMPLETE.
When bytes are removed from skb, the computed checksum needs to be adjusted.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Tested-by: Martin Volf <martin.volf.42@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c