Searched hist:b4f70527 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/openvswitch/ |
H A D | actions.c | b4f70527 Wed Apr 20 20:49:15 CDT 2016 Simon Horman <simon.horman@netronome.com> 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> b4f70527 Wed Apr 20 20:49:15 CDT 2016 Simon Horman <simon.horman@netronome.com> 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>
|