mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
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>
This commit is contained in:
parent
d1bfc62591
commit
4c22279848
16 changed files with 100 additions and 112 deletions
|
@ -56,7 +56,8 @@ int ovs_nla_get_match(struct net *, struct sw_flow_match *,
|
|||
const struct nlattr *key, const struct nlattr *mask,
|
||||
bool log);
|
||||
int ovs_nla_put_egress_tunnel_key(struct sk_buff *,
|
||||
const struct ip_tunnel_info *);
|
||||
const struct ip_tunnel_info *,
|
||||
const void *egress_tun_opts);
|
||||
|
||||
bool ovs_nla_get_ufid(struct sw_flow_id *, const struct nlattr *, bool log);
|
||||
int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue