]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Fix checksum calculation when modifying ICMPv6 packets.
authorJesse Gross <jesse@nicira.com>
Tue, 11 Nov 2014 22:32:20 +0000 (14:32 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 14 Nov 2014 23:13:26 +0000 (15:13 -0800)
commit91f5752abbfa2d6bd9e2cbb3d7eda9080a6da68a
tree21aa98052bc2859980686929eec464680d3a3627
parentaceae34ac3bfac47f5c44c3d3cbaf0a76f290cc3
openvswitch: Fix checksum calculation when modifying ICMPv6 packets.

The checksum of ICMPv6 packets uses the IP pseudoheader as part of
the calculation, unlike ICMP in IPv4. This was not implemented,
which means that modifying the IP addresses of an ICMPv6 packet
would cause the checksum to no longer be correct as the psuedoheader
did not match.
Introduced by commit 78300e99d7e7 ("openvswitch: add ipv6 'set' action").

Reported-by: Neal Shrader <icosahedral@gmail.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
net/openvswitch/actions.c