Go to file
Florian Westphal e61fa6b027 netfilter: nat: really support inet nat without l3 address
[ Upstream commit 282e5f8fe9 ]

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: a33f387ecd ("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:45:03 +02:00
Documentation rtla/Makefile: Properly handle dependencies 2022-06-14 18:45:03 +02:00
LICENSES
arch powerpc/papr_scm: don't requests stats with '0' sized stats buffer 2022-06-14 18:45:03 +02:00
block blk-mq: do not update io_ticks with passthrough requests 2022-06-14 18:44:57 +02:00
certs Kbuild updates for v5.18 2022-03-31 11:59:03 -07:00
crypto crypto: cryptd - Protect per-CPU resource by disabling BH. 2022-06-09 10:30:30 +02:00
drivers drm/panfrost: Job should reference MMU not file_priv 2022-06-14 18:45:03 +02:00
fs f2fs: fix to tag gcing flag on page during file defragment 2022-06-14 18:45:03 +02:00
include bluetooth: don't use bitmaps for random flag accesses 2022-06-14 18:45:01 +02:00
init Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug 2022-06-09 10:30:49 +02:00
ipc ipc/mqueue: use get_tree_nodev() in mqueue_get_tree() 2022-06-09 10:30:30 +02:00
kernel tracing: Avoid adding tracer option before update_tracer_options 2022-06-14 18:45:01 +02:00
lib bootconfig: Make the bootconfig.o as a normal object file 2022-06-14 18:45:01 +02:00
mm mm/memremap: fix missing call to untrack_pfn() in pagemap_range() 2022-06-09 10:30:52 +02:00
net netfilter: nat: really support inet nat without l3 address 2022-06-14 18:45:03 +02:00
samples samples/landlock: Format with clang-format 2022-06-09 10:30:46 +02:00
scripts modpost: fix removing numeric suffixes 2022-06-14 18:44:54 +02:00
security ima: remove the IMA_TEMPLATE Kconfig option 2022-06-09 10:30:49 +02:00
sound ASoC: fsl_sai: Fix FSL_SAI_xDR/xFR definition 2022-06-14 18:44:53 +02:00
tools netfilter: nat: really support inet nat without l3 address 2022-06-14 18:45:03 +02:00
usr Kbuild updates for v5.18 2022-03-31 11:59:03 -07:00
virt KVM: Free new dirty bitmap if creating a new memslot fails 2022-05-20 13:02:05 -04:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap hotfixes for 5.18-rc7 2022-05-13 10:22:37 -07:00
COPYING
CREDITS MAINTAINERS: replace a Microchip AT91 maintainer 2022-02-09 11:30:01 +01:00
Kbuild
Kconfig
MAINTAINERS Merge branch 'arm/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc 2022-05-18 14:07:43 -10:00
Makefile Linux 5.18.3 2022-06-09 10:30:57 +02:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.