]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Fix egress tunnel info.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 23 Oct 2015 01:17:16 +0000 (18:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Oct 2015 02:39:25 +0000 (19:39 -0700)
commite231e86bc5163c3d8c2a02884fccd786d20fee20
tree3a4cfa8db0ec0fa58c15af23b6745dc01b8f8e38
parenta51986a68ae79d63982a0223bb685819e98ebc2c
openvswitch: Fix egress tunnel info.

While transitioning to netdev based vport we broke OVS
feature which allows user to retrieve tunnel packet egress
information for lwtunnel devices.  Following patch fixes it
by introducing ndo operation to get the tunnel egress info.
Same ndo operation can be used for lwtunnel devices and compat
ovs-tnl-vport devices. So after adding such device operation
we can remove similar operation from ovs-vport.

Fixes: 8f83206ada5e ("openvswitch: Use regular VXLAN net_device device").
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
drivers/net/geneve.c
drivers/net/vxlan.c
include/linux/netdevice.h
include/net/dst_metadata.h
net/core/dev.c
net/ipv4/ip_gre.c
net/openvswitch/actions.c
net/openvswitch/datapath.c
net/openvswitch/datapath.h
net/openvswitch/flow_netlink.c
net/openvswitch/flow_netlink.h
net/openvswitch/vport-geneve.c
net/openvswitch/vport-gre.c
net/openvswitch/vport-vxlan.c
net/openvswitch/vport.c
net/openvswitch/vport.h