diff options
author | Andy Zhou <[email protected]> | 2014-09-19 18:02:53 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-09-19 22:05:28 -0400 |
commit | 6d967f8789249628a6388a3a4314c5fef423f36a (patch) | |
tree | b51fb98b60ff90e73ac190e61401f319327b82e6 /net/lapb/lapb_subr.c | |
parent | 6c62f606b0db9f5ee47fbc20a5fc8ddcc803841a (diff) |
udp_tunnel: Only build ip6_udp_tunnel.c when IPV6 is selected
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 <[email protected]>
Signed-off-by: Andy Zhou <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions