diff options
author | Pravin B Shelar <pshelar@ovn.org> | 2016-07-07 21:49:07 -0700 |
---|---|---|
committer | Pravin B Shelar <pshelar@ovn.org> | 2016-07-08 19:27:49 -0700 |
commit | 9dc970e18041950149128071be1f379cb7523619 (patch) | |
tree | 8f4b13f914d27bf222a5c315c2a6c327425c2617 /datapath | |
parent | 4431d10a1452a9b6cedf429090dbc7660778e260 (diff) | |
download | openvswitch-9dc970e18041950149128071be1f379cb7523619.tar.gz |
datapath: compat: Remove unnecessary iptunnel_xmit() declaration.
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
Diffstat (limited to 'datapath')
-rw-r--r-- | datapath/linux/compat/include/net/ip_tunnels.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/datapath/linux/compat/include/net/ip_tunnels.h b/datapath/linux/compat/include/net/ip_tunnels.h index cea75a11c..b9fa76f13 100644 --- a/datapath/linux/compat/include/net/ip_tunnels.h +++ b/datapath/linux/compat/include/net/ip_tunnels.h @@ -51,21 +51,11 @@ struct sk_buff *rpl_iptunnel_handle_offloads(struct sk_buff *skb, iptunnel_handle_offloads(skb, gso_type_mask) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,18,0) #define iptunnel_xmit rpl_iptunnel_xmit int rpl_iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 proto, __u8 tos, __u8 ttl, __be16 df, bool xnet); -#else - -#define rpl_iptunnel_xmit iptunnel_xmit -int rpl_iptunnel_xmit(struct sock *sk, struct rtable *rt, struct sk_buff *skb, - __be32 src, __be32 dst, __u8 proto, __u8 tos, __u8 ttl, - __be16 df, bool xnet); - -#endif /* 3.18 */ - #ifndef TUNNEL_CSUM #define TUNNEL_CSUM __cpu_to_be16(0x01) #define TUNNEL_ROUTING __cpu_to_be16(0x02) |