Florian Westphal
e0212033ff
netfilter: nat: really support inet nat without l3 address
...
[ Upstream commit 282e5f8fe907dc3f2fbf9f2103b0e62ffc3a68a5 ]
When no l3 address is given, priv->family is set to NFPROTO_INET and
the evaluation function isn't called.
Call it too so l4-only rewrite can work.
Also add a test case for this.
Fixes: a33f387ecd5aa ("netfilter: nft_nat: allow to specify layer 4 protocol NAT only")
Reported-by: Yi Chen <yiche@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:11:57 +02:00
..
accounting
arch
x86: xen: insn: Decode Xen and KVM emulate-prefix signature
2022-05-15 19:54:47 +02:00
bpf
bpftool: Remove inclusion of utilities.mak from Makefiles
2022-01-27 09:19:53 +01:00
build
tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
2022-04-15 14:18:40 +02:00
cgroup
debugging
firewire
firmware
gpio
tools: gpio-hammer: Avoid potential overflow in main
2020-10-01 13:17:47 +02:00
hv
iio
include
bpf: Fix comment for helper bpf_current_task_under_cgroup()
2022-04-15 14:18:30 +02:00
io_uring
tools/io_uring: fix compile breakage
2020-10-07 08:01:27 +02:00
kvm /kvm_stat
laptop
leds
lib
libbpf: Skip forward declaration when counting duplicated type names
2022-04-15 14:18:14 +02:00
memory-model
nfsd
objtool
x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
2022-05-25 09:14:38 +02:00
pci
pcmcia
perf
perf c2c: Fix sorting in percent_rmt_hitm_cmp()
2022-06-14 18:11:56 +02:00
power
tools/power turbostat: fix ICX DRAM power numbers
2022-06-14 18:11:25 +02:00
scripts
tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
2021-07-31 08:19:37 +02:00
spi
testing
netfilter: nat: really support inet nat without l3 address
2022-06-14 18:11:57 +02:00
thermal /tmon
tools/thermal/tmon: Add cross compiling support
2021-09-22 12:26:20 +02:00
time
usb
usb: testusb: Fix for showing the connection speed
2021-10-09 14:39:49 +02:00
virtio
vm
tools/vm/page-types: remove dependency on opt_file for idle page tracking
2021-10-09 14:39:50 +02:00
wmi
Makefile