]> 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)
commitbc7cc5999fd392cc799630d7e375b2f4e29cc398
tree93951297d1c82bdd0d241d6f8385c7f6ff9cea53
parent40eb90e9ccc3f96f937ea1db79d0f9cb61553ed5
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: 25cd9ba0abc0 ("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