openvswitch: Retrieve tunnel metadata when receiving from vport-netdev
authorThomas Graf <tgraf@suug.ch>
Thu, 23 Jul 2015 11:04:44 +0000 (13:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 04:19:11 +0000 (21:19 -0700)
commit597798e438371128519fa94dacdc42311b4254a6
tree558b65973401471050804527734e15d158a95a99
parent9ece39ab9a91aa37090c8fbfe64c240f27ad9f1a
openvswitch: Retrieve tunnel metadata when receiving from vport-netdev

Retrieve the tunnel metadata for packets received by a net_device and
provide it to ovs_vport_receive() for flow key extraction.

[This hunk was in the GRE patch in the initial series and missed the
 cut for the initial submission for merging.]

Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device")
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/vport-netdev.c