]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - net/openvswitch/actions.c
ip-tunnel: Use API to access tunnel metadata options.
authorPravin B Shelar <pshelar@nicira.com>
Mon, 31 Aug 2015 01:09:38 +0000 (18:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2015 19:28:56 +0000 (12:28 -0700)
commit4c22279848c531fc7f555d463daf3d0df963bd41
tree38315c4715393860962cc00a19f47fa1554b6add
parentd1bfc62591a0a5144dc380976e737fbbb4f40f4f
ip-tunnel: Use API to access tunnel metadata options.

Currently tun-info options pointer is used in few cases to
pass options around. But tunnel options can be accessed using
ip_tunnel_info_opts() API without using the pointer. Following
patch removes the redundant pointer and consistently make use
of API.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Reviewed-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
drivers/net/geneve.c
drivers/net/vxlan.c
include/net/dst_metadata.h
include/net/ip_tunnels.h
net/ipv4/ip_tunnel_core.c
net/openvswitch/actions.c
net/openvswitch/datapath.c
net/openvswitch/datapath.h
net/openvswitch/flow.c
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