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)
commit3576fd794b38306e196498ac54bb3b21c32e1ae4
treeea2ead72cd3f1079034abf0ceb1c44e622a17149
parent3d0e0af40672a0bf16ca0f0591165535138c1f30
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