]> 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)
commit40f8dd21131ae9069ed681cf29a32d10050c47c3
tree93951297d1c82bdd0d241d6f8385c7f6ff9cea53
parent6e2d1df6aa451781133c221e78342d7fcadcec11
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: 21f78ef9ea80 ("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