]> git.proxmox.com Git - mirror_ovs.git/commit
datapath: correctly fragment packet with mpls headers
authorYi-Hung Wei <yihung.wei@gmail.com>
Mon, 1 May 2017 17:24:33 +0000 (10:24 -0700)
committerSimon Horman <simon.horman@netronome.com>
Wed, 3 May 2017 15:49:13 +0000 (17:49 +0200)
commit279ecabe32f026bf15915e761c362739908e1ea1
tree14765aeb1fdc2a7ae0de399db0178054cbdb3c7a
parent176e06ddc2ed1dd06f96e815cd82d4ec090e920b
datapath: correctly fragment packet with mpls headers

Upstream commit:
    commit c66549ffd666605831abf6cf19ce0571ad868e39
    Author: Jiri Benc <jbenc@redhat.com>
    Date:   Wed Oct 5 15:01:57 2016 +0200

    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>
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
datapath/actions.c