]> git.proxmox.com Git - mirror_ovs.git/commit
datapath: set network header correctly on key extract
authorYi-Hung Wei <yihung.wei@gmail.com>
Mon, 1 May 2017 17:24:32 +0000 (10:24 -0700)
committerSimon Horman <simon.horman@netronome.com>
Wed, 3 May 2017 15:49:13 +0000 (17:49 +0200)
commit176e06ddc2ed1dd06f96e815cd82d4ec090e920b
tree898e87e0035539c66cafde074c8d15791038effe
parent65590144c9de852fd1793d30c00e585c6acd5e72
datapath: set network header correctly on key extract

Upstream commit:
    commit f7d49bce8e741e1e6aa14ce4db1b6cea7e4be4e8
    Author: Jiri Benc <jbenc@redhat.com>
    Date:   Fri Sep 30 19:08:05 2016 +0200

    openvswitch: mpls: set network header correctly on key extract

    After the 48d2ab609b6b ("net: mpls: Fixups for GSO"), MPLS handling in
    openvswitch was changed to have network header pointing to the start of the
    MPLS headers and inner_network_header pointing after the MPLS headers.

    However, key_extract was missed by the mentioned commit, causing incorrect
    headers to be set when a MPLS packet just enters the bridge or after it is
    recirculated.

Fixes: 48d2ab609b6b ("net: mpls: Fixups for GSO")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
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/flow.c