Re: [PATCH bpf-next] net: core: Fix build with CONFIG_IPV6=m

2018-10-04 Thread Daniel Borkmann
On 10/04/2018 08:33 PM, Joe Stringer wrote: > On Thu, 4 Oct 2018 at 01:48, Daniel Borkmann wrote: >> >> On 10/03/2018 07:32 AM, Joe Stringer wrote: >>> Stephen Rothwell reports the following link failure with IPv6 as module: >>> >>> x86_64-linux-gnu-ld: net/core/filter.o: in function `sk_lookup'

Re: [PATCH bpf-next] net: core: Fix build with CONFIG_IPV6=m

2018-10-04 Thread Joe Stringer
On Thu, 4 Oct 2018 at 01:48, Daniel Borkmann wrote: > > On 10/03/2018 07:32 AM, Joe Stringer wrote: > > Stephen Rothwell reports the following link failure with IPv6 as module: > > > > x86_64-linux-gnu-ld: net/core/filter.o: in function `sk_lookup': > > (.text+0x19219): undefined reference to

Re: [PATCH bpf-next] net: core: Fix build with CONFIG_IPV6=m

2018-10-04 Thread Daniel Borkmann
On 10/03/2018 07:32 AM, Joe Stringer wrote: > Stephen Rothwell reports the following link failure with IPv6 as module: > > x86_64-linux-gnu-ld: net/core/filter.o: in function `sk_lookup': > (.text+0x19219): undefined reference to `__udp6_lib_lookup' > > Fix the build by only enabling the IPv6

[PATCH bpf-next] net: core: Fix build with CONFIG_IPV6=m

2018-10-02 Thread Joe Stringer
Stephen Rothwell reports the following link failure with IPv6 as module: x86_64-linux-gnu-ld: net/core/filter.o: in function `sk_lookup': (.text+0x19219): undefined reference to `__udp6_lib_lookup' Fix the build by only enabling the IPv6 socket lookup if IPv6 support is compiled into the kern