]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: update checksum in {push,pop}_mpls
authorSimon Horman <simon.horman@netronome.com>
Mon, 30 May 2016 05:04:25 +0000 (14:04 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 May 2016 20:51:42 +0000 (13:51 -0700)
commitdec87bc588e2feb07601571152b7dff8433886ad
tree93951297d1c82bdd0d241d6f8385c7f6ff9cea53
parent29a60cfdae4f030d3df1b569392a3a30906a7b02
openvswitch: update checksum in {push,pop}_mpls

In the case of CHECKSUM_COMPLETE the skb checksum should be updated in
{push,pop}_mpls() as they the type in the ethernet header.

As suggested by Pravin Shelar.

Cc: Pravin Shelar <pshelar@nicira.com>
Fixes: 328cd9ca4766 ("openvswitch: Add basic MPLS support to kernel")
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/actions.c