[ovs-dev] [PATCH v2] openvswitch: Fix L4 checksum handling when dealing with IP fragments

David Miller davem at davemloft.net
Mon Aug 3 21:03:28 UTC 2015


From: Glenn Griffin <ggriffin.kernel at gmail.com>
Date: Mon, 3 Aug 2015 09:56:54 -0700

> 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 at gmail.com>
> ---
> Changes in v2:
>   - Compare frag_off in network byte order rather than host byte order

Applied and queued up for -stable.



More information about the dev mailing list