Go to file
Fernando Fernandez Mancera 9f45588993 netfilter: nf_conncount: update last_gc only when GC has been performed
[ Upstream commit 7811ba452402d58628e68faedf38745b3d485e3c ]

Currently last_gc is being updated everytime a new connection is
tracked, that means that it is updated even if a GC wasn't performed.
With a sufficiently high packet rate, it is possible to always bypass
the GC, causing the list to grow infinitely.

Update the last_gc value only when a GC has been actually performed.

Fixes: d265929930 ("netfilter: nf_conncount: reduce unnecessary GC")
Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-17 16:39:30 +01:00
arch arm64: dts: imx8mp: Fix LAN8740Ai PHY reference clock on DH electronics i.MX8M Plus DHCOM 2026-01-17 16:39:29 +01:00
block blk-mq: setup queue ->tag_set before initializing hctx 2026-01-11 15:19:26 +01:00
certs sign-file,extract-cert: use pkcs11 provider for OPENSSL MAJOR >= 3 2025-04-25 10:44:04 +02:00
crypto crypto: af_alg - zero initialize memory allocated via sock_kmalloc 2026-01-11 15:19:19 +01:00
Documentation tty: fix tty_port_tty_*hangup() kernel-doc 2026-01-11 15:19:26 +01:00
drivers scsi: Revert "scsi: libsas: Fix exp-attached device scan after probe failure scanned in again after probe failed" 2026-01-17 16:39:29 +01:00
fs smb/client: fix NT_STATUS_NO_DATA_DETECTED value 2026-01-17 16:39:29 +01:00
include net: Add locking to protect skb->dev access in ip_output 2026-01-17 16:39:28 +01:00
init init: handle bootloader identifier in kernel parameters 2025-10-19 16:23:13 +02:00
io_uring io_uring: fix filename leak in __io_openat_prep() 2026-01-11 15:18:56 +01:00
ipc ipc: fix to protect IPCS lookups using RCU 2025-06-27 11:07:30 +01:00
kernel kernel/fork: only call untrack_pfn_clear() on VMAs duplicated for fork() 2026-01-11 15:19:27 +01:00
lib lib/crypto: aes: Fix missing MMU protection for AES S-box 2026-01-17 16:39:26 +01:00
LICENSES
mm mm: (un)track_pfn_copy() fix + doc improvements 2026-01-11 15:19:27 +01:00
net netfilter: nf_conncount: update last_gc only when GC has been performed 2026-01-17 16:39:30 +01:00
rust mm/ksm: fix flag-dropping behavior in ksm_madvise 2025-10-29 14:04:43 +01:00
samples samples: work around glibc redefining some of our defines wrong 2026-01-11 15:18:16 +01:00
scripts kbuild: Use CRC32 and a 1MiB dictionary for XZ compressed modules 2026-01-11 15:19:15 +01:00
security KEYS: trusted: Fix a memory leak in tpm2_load_cmd 2026-01-11 15:18:50 +01:00
sound ASoC: stm32: sai: fix OF node leak on probe 2026-01-11 15:19:20 +01:00
tools idr: fix idr_alloc() returning an ID out of range 2026-01-11 15:19:11 +01:00
usr kbuild: uapi: Strip comments before size type check 2025-12-07 06:12:28 +09:00
virt KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin() 2024-06-27 13:46:21 +02:00
.clang-format inet: ping: use hlist_nulls rcu iterator during lookup 2022-12-01 12:42:46 +01:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore Remove *.orig pattern from .gitignore 2024-10-17 15:21:15 +02:00
.mailmap 9 hotfixes. 6 for MM, 3 for other areas. Four of these patches address 2022-12-10 17:10:52 -08:00
.rustfmt.toml
COPYING
CREDITS MAINTAINERS: Remove Michal Marek from Kbuild maintainers 2022-11-16 14:53:00 +09:00
Kbuild Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
Kconfig
MAINTAINERS staging: rtl8712: Remove driver using deprecated API wext 2025-12-07 06:12:45 +09:00
Makefile Linux 6.1.160 2026-01-11 15:19:28 +01: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.