diff options
author | Arnd Bergmann <[email protected]> | 2018-06-05 13:40:34 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-06-05 10:55:05 -0400 |
commit | 6e86000c2c63123e174b7e198735fbb12f0258ea (patch) | |
tree | da0c9323afbdce5f06e16bdb46095da25a5b6435 /scripts/bpf_helpers_doc.py | |
parent | d52c89f120de849575f6b2e5948038f2be12ce6f (diff) |
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 <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Acked-by: Máté Eckl <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions