No description
Find a file
Florian Westphal 8e51830e29 netfilter: nf_tables: defer gc run if previous batch is still pending
Don't queue more gc work, else we may queue the same elements multiple
times.

If an element is flagged as dead, this can mean that either the previous
gc request was invalidated/discarded by a transaction or that the previous
request is still pending in the system work queue.

The latter will happen if the gc interval is set to a very low value,
e.g. 1ms, and system work queue is backlogged.

The sets refcount is 1 if no previous gc requeusts are queued, so add
a helper for this and skip gc run if old requests are pending.

Add a helper for this and skip the gc run in this case.

Fixes: f6c383b8c3 ("netfilter: nf_tables: adapt set backend to use GC transaction API")
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
2023-08-23 16:12:59 +02:00
arch parisc: Fix CONFIG_TLB_PTLOCK to work with lightweight spinlock checks 2023-08-14 09:54:49 +02:00
block
certs
crypto
Documentation leds: trigger: netdev: rename 'hw_control' sysfs entry to 'offloaded' 2023-08-22 11:02:29 -07:00
drivers ibmveth: Use dcbf rather than dcbfl 2023-08-23 11:51:16 +01:00
fs three smb client fixes, all for stable 2023-08-15 20:00:40 +00:00
include netfilter: nf_tables: defer gc run if previous batch is still pending 2023-08-23 16:12:59 +02:00
init
io_uring
ipc
kernel
lib
LICENSES
mm
net netfilter: nf_tables: defer gc run if previous batch is still pending 2023-08-23 16:12:59 +02:00
rust
samples
scripts Kbuild fixes for v6.5 (2nd) 2023-08-13 08:56:24 -07:00
security
sound
tools selftests: bonding: do not set port down before adding to bond 2023-08-21 19:05:42 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap mailmap: add entries for Simon Horman 2023-08-16 09:53:10 +01:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: add entry for macsec 2023-08-21 07:50:09 +01:00
Makefile Linux 6.5-rc6 2023-08-13 11:29:55 -07:00
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.