[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140919.220620.557633612726378260.davem@davemloft.net>
Date: Fri, 19 Sep 2014 22:06:20 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: azhou@...ira.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next] udp_tunnel: Only build ip6_udp_tunnel.c when IPV6
is selected
From: Andy Zhou <azhou@...ira.com>
Date: Fri, 19 Sep 2014 18:02:53 -0700
> Functions supplied in ip6_udp_tunnel.c are only needed when IPV6 is
> selected. When IPV6 is not selected, those functions are stubbed out
> in udp_tunnel.h.
>
> ==================================================================
> net/ipv6/ip6_udp_tunnel.c:15:5: error: redefinition of 'udp_sock_create6'
> int udp_sock_create6(struct net *net, struct udp_port_cfg *cfg,
> In file included from net/ipv6/ip6_udp_tunnel.c:9:0:
> include/net/udp_tunnel.h:36:19: note: previous definition of 'udp_sock_create6' was here
> static inline int udp_sock_create6(struct net *net, struct udp_port_cfg *cfg,
> ==================================================================
>
> Fixes: fd384412e udp_tunnel: Seperate ipv6 functions into its own file
> Reported-by: kbuild test robot <fengguang.wu@...el.com>
> Signed-off-by: Andy Zhou <azhou@...ira.com>
Applied, thanks Andy.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists