[ovs-dev] [RFC PATCH net-next 1/4] iptunnels: remove net arg from iptunnel_xmit()
Pravin Shelar
pshelar at nicira.com
Sat Aug 31 06:09:41 UTC 2013
On Wed, Aug 28, 2013 at 8:20 AM, Nicolas Dichtel
<nicolas.dichtel at 6wind.com> wrote:
> This argument is not used, let's remove it.
>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel at 6wind.com>
> ---
> drivers/net/vxlan.c | 3 +--
> include/net/ip_tunnels.h | 3 +--
> net/ipv4/ip_tunnel.c | 3 +--
> net/ipv4/ip_tunnel_core.c | 3 +--
> net/ipv6/sit.c | 4 ++--
> net/openvswitch/vport-gre.c | 2 +-
> 6 files changed, 7 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
> index 3b21aca0c0c2..3bc27c2ca569 100644
> --- a/drivers/net/vxlan.c
> +++ b/drivers/net/vxlan.c
> @@ -1171,8 +1171,7 @@ int vxlan_xmit_skb(struct net *net, struct vxlan_sock *vs,
> if (err)
> return err;
>
> - return iptunnel_xmit(net, rt, skb, src, dst,
> - IPPROTO_UDP, tos, ttl, df);
> + return iptunnel_xmit(rt, skb, src, dst, IPPROTO_UDP, tos, ttl, df);
Can you remove argument `net` from vxlan_xmit_skb() also?
Thanks.
More information about the dev
mailing list