]> 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)
commitfc3fb310b86c3aed881050697530e321e8dc7a7b
tree21aa98052bc2859980686929eec464680d3a3627
parentc7701796c5339360d8e6a20afca2ccbb8d004f99
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 401d88d3c7ee ("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