diff options
author | Simon Horman <simon.horman@netronome.com> | 2016-04-21 11:49:15 +1000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-21 15:28:47 -0400 |
commit | b4f70527f052b0c00be4d7cac562baa75b212df5 (patch) | |
tree | c31bbf699b5793ec7731cea3735d71a8286feb26 /include | |
parent | f0d437809d23999cb25207cfbe80c61e5703fdc1 (diff) |
openvswitch: use flow protocol when recalculating ipv6 checksums
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@nicira.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions