]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Fix L4 checksum handling when dealing with IP fragments
authorGlenn Griffin <ggriffin.kernel@gmail.com>
Mon, 3 Aug 2015 16:56:54 +0000 (09:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2015 21:03:08 +0000 (14:03 -0700)
commit78b228f23ed8b18f8cd23c0e087efc4539796404
treeea2ead72cd3f1079034abf0ceb1c44e622a17149
parent9b3ca173a7fdd8c52d6b5dc7389d47fa44ebe9af
openvswitch: Fix L4 checksum handling when dealing with IP fragments

openvswitch modifies the L4 checksum of a packet when modifying
the ip address. When an IP packet is fragmented only the first
fragment contains an L4 header and checksum. Prior to this change
openvswitch would modify all fragments, modifying application data
in non-first fragments, causing checksum failures in the
reassembled packet.

Signed-off-by: Glenn Griffin <ggriffin.kernel@gmail.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/actions.c