commit | d71019b54bff4b8f52903e354bf3b8cb2b4dfa75 | [log] [tgz] |
---|---|---|
author | Joe Stringer <joe@wand.net.nz> | Tue Oct 02 22:32:26 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Oct 04 10:32:56 2018 +0200 |
tree | 1da142e0c4a588b40dafae46f5f426080e3dea75 | |
parent | 33d9a7fd675678e7ea739ccb104abc1139caf19e [diff] |
net: core: Fix build with CONFIG_IPV6=m 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 kernel. Signed-off-by: Joe Stringer <joe@wand.net.nz> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>