openvswitch: correctly fragment packet with mpls headers
authorJiri Benc <jbenc@redhat.com>
Wed, 5 Oct 2016 13:01:57 +0000 (15:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Oct 2016 05:42:52 +0000 (01:42 -0400)
commitc66549ffd666605831abf6cf19ce0571ad868e39
tree9078e08204c4f03e6fed95845905219979e8a6d8
parentbb10bb3ea8d6417d89ff1dd4df75d44f8c97ff56
openvswitch: correctly fragment packet with mpls headers

If mpls headers were pushed to a defragmented packet, the refragmentation no
longer works correctly after 48d2ab609b6b ("net: mpls: Fixups for GSO"). The
network header has to be shifted after the mpls headers for the
fragmentation and restored afterwards.

Fixes: 48d2ab609b6b ("net: mpls: Fixups for GSO")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/actions.c