diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-06-05 13:40:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-05 10:55:05 -0400 |
commit | 6e86000c2c63123e174b7e198735fbb12f0258ea (patch) | |
tree | da0c9323afbdce5f06e16bdb46095da25a5b6435 /mm/vmstat.c | |
parent | d52c89f120de849575f6b2e5948038f2be12ce6f (diff) | |
download | linux-6e86000c2c63123e174b7e198735fbb12f0258ea.tar.gz |
netfilter: provide udp*_lib_lookup for nf_tproxy
It is now possible to enable the libified nf_tproxy modules without also enabling NETFILTER_XT_TARGET_TPROXY, which throws off the ifdef logic in the udp core code: net/ipv6/netfilter/nf_tproxy_ipv6.o: In function `nf_tproxy_get_sock_v6': nf_tproxy_ipv6.c:(.text+0x1a8): undefined reference to `udp6_lib_lookup' net/ipv4/netfilter/nf_tproxy_ipv4.o: In function `nf_tproxy_get_sock_v4': nf_tproxy_ipv4.c:(.text+0x3d0): undefined reference to `udp4_lib_lookup' We can actually simplify the conditions now to provide the two functions exactly when they are needed. Fixes: 45ca4e0cf273 ("netfilter: Libify xt_TPROXY") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Paolo Abeni <pabeni@redhat.com> Acked-by: Máté Eckl <ecklm94@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions