]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Allow sk_lookup with IPv6 module
authorJoe Stringer <joe@wand.net.nz>
Mon, 15 Oct 2018 17:27:45 +0000 (10:27 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 15 Oct 2018 23:08:39 +0000 (16:08 -0700)
commitf9a7c9637c88be4b11036644a33d32cec9c46d46
tree5e4183735b9873f4f54c5556bf748d9775bd6d01
parent31859b21b627fbab0d4a7d8dbb9757f9e524032a
bpf: Allow sk_lookup with IPv6 module

This is a more complete fix than 68d38bbfca91 ("net: core: Fix build
with CONFIG_IPV6=m"), so that IPv6 sockets may be looked up if the IPv6
module is loaded (not just if it's compiled in).

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/net/addrconf.h
net/core/filter.c
net/ipv6/af_inet6.c