[ovs-dev] [PATCH net] openvswitch: use flow protocol when recalculating ipv6 checksums

David Miller davem at davemloft.net
Thu Apr 21 19:29:40 UTC 2016


From: Simon Horman <simon.horman at netronome.com>
Date: Thu, 21 Apr 2016 11:49:15 +1000

> When using masked actions the ipv6_proto field of an action
> to set IPv6 fields may be zero rather than the prevailing protocol
> which will result in skipping checksum recalculation.
> 
> This patch resolves the problem by relying on the protocol
> in the flow key rather than that in the set field action.
> 
> Fixes: 83d2b9ba1abc ("net: openvswitch: Support masked set actions.")
> Cc: Jarno Rajahalme <jrajahalme at nicira.com>
> Signed-off-by: Simon Horman <simon.horman at netronome.com>

Looks good to me, applied and queued up for -stable.

Thanks Simon.



More information about the dev mailing list