Re: [PATCH v2] openvswitch: Fix L4 checksum handling when dealing with IP fragments

From: David Miller
Date: Mon Aug 03 2015 - 17:03:38 EST


From: Glenn Griffin <ggriffin.kernel@xxxxxxxxx>
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@xxxxxxxxx>
> ---
> Changes in v2:
> - Compare frag_off in network byte order rather than host byte order

Applied and queued up for -stable.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/