https://github.com/torvalds/linux
Revision ac1a21db32eda8a09076bad025d7b848dd086d28 authored by Paolo Abeni on 18 April 2024, 11:12:36 UTC, committed by Paolo Abeni on 18 April 2024, 11:12:37 UTC
Pablo Neira Ayuso says:

====================
Netfilter fixes for net

The following patchset contains Netfilter fixes for net:

Patch #1 amends a missing spot where the set iterator type is unset.
	 This is fixing a issue in the previous pull request.

Patch #2 fixes the delete set command abort path by restoring state
         of the elements. Reverse logic for the activate (abort) case
	 otherwise element state is not restored, this requires to move
	 the check for active/inactive elements to the set iterator
	 callback. From the deactivate path, toggle the next generation
	 bit and from the activate (abort) path, clear the next generation
	 bitmask.

Patch #3 skips elements already restored by delete set command from the
	 abort path in case there is a previous delete element command in
	 the batch. Check for the next generation bit just like it is done
	 via set iteration to restore maps.

netfilter pull request 24-04-18

* tag 'nf-24-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf:
  netfilter: nf_tables: fix memleak in map from abort path
  netfilter: nf_tables: restore set elements when delete set fails
  netfilter: nf_tables: missing iterator type in lookup walk
====================

Link: https://lore.kernel.org/r/20240418010948.3332346-1-pablo@netfilter.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2 parent s d10a7f5 + 86a1471
History
Tip revision: ac1a21db32eda8a09076bad025d7b848dd086d28 authored by Paolo Abeni on 18 April 2024, 11:12:36 UTC
Merge tag 'nf-24-04-18' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf
Tip revision: ac1a21d
File Mode Size
9p
adfs
affs
afs
autofs
bcachefs
befs
bfs
btrfs
cachefiles
ceph
coda
configfs
cramfs
crypto
debugfs
devpts
dlm
ecryptfs
efivarfs
efs
erofs
exfat
exportfs
ext2
ext4
f2fs
fat
freevxfs
fuse
gfs2
hfs
hfsplus
hostfs
hpfs
hugetlbfs
iomap
isofs
jbd2
jffs2
jfs
kernfs
lockd
minix
netfs
nfs
nfs_common
nfsd
nilfs2
nls
notify
ntfs3
ocfs2
omfs
openpromfs
orangefs
overlayfs
proc
pstore
qnx4
qnx6
quota
ramfs
reiserfs
romfs
smb
squashfs
sysfs
sysv
tracefs
ubifs
udf
ufs
unicode
vboxsf
verity
xfs
zonefs
Kconfig -rw-r--r-- 10.0 KB
Kconfig.binfmt -rw-r--r-- 6.2 KB
Makefile -rw-r--r-- 4.4 KB
aio.c -rw-r--r-- 61.6 KB
anon_inodes.c -rw-r--r-- 8.4 KB
attr.c -rw-r--r-- 15.4 KB
backing-file.c -rw-r--r-- 7.8 KB
bad_inode.c -rw-r--r-- 5.6 KB
binfmt_elf.c -rw-r--r-- 55.9 KB
binfmt_elf_fdpic.c -rw-r--r-- 43.6 KB
binfmt_elf_test.c -rw-r--r-- 2.7 KB
binfmt_flat.c -rw-r--r-- 25.8 KB
binfmt_misc.c -rw-r--r-- 26.2 KB
binfmt_script.c -rw-r--r-- 4.2 KB
buffer.c -rw-r--r-- 82.4 KB
char_dev.c -rw-r--r-- 16.6 KB
compat_binfmt_elf.c -rw-r--r-- 3.8 KB
coredump.c -rw-r--r-- 30.4 KB
d_path.c -rw-r--r-- 11.4 KB
dax.c -rw-r--r-- 55.2 KB
dcache.c -rw-r--r-- 83.6 KB
direct-io.c -rw-r--r-- 38.4 KB
drop_caches.c -rw-r--r-- 1.9 KB
eventfd.c -rw-r--r-- 11.3 KB
eventpoll.c -rw-r--r-- 68.8 KB
exec.c -rw-r--r-- 52.4 KB
fcntl.c -rw-r--r-- 23.9 KB
fhandle.c -rw-r--r-- 7.0 KB
file.c -rw-r--r-- 36.0 KB
file_table.c -rw-r--r-- 13.4 KB
filesystems.c -rw-r--r-- 6.5 KB
fs-writeback.c -rw-r--r-- 81.6 KB
fs_context.c -rw-r--r-- 19.2 KB
fs_parser.c -rw-r--r-- 10.7 KB
fs_pin.c -rw-r--r-- 1.9 KB
fs_struct.c -rw-r--r-- 3.4 KB
fs_types.c -rw-r--r-- 2.5 KB
fsopen.c -rw-r--r-- 11.6 KB
init.c -rw-r--r-- 6.0 KB
inode.c -rw-r--r-- 69.2 KB
internal.h -rw-r--r-- 9.4 KB
ioctl.c -rw-r--r-- 24.8 KB
kernel_read_file.c -rw-r--r-- 4.4 KB
libfs.c -rw-r--r-- 55.6 KB
locks.c -rw-r--r-- 78.6 KB
mbcache.c -rw-r--r-- 12.5 KB
mnt_idmapping.c -rw-r--r-- 8.7 KB
mount.h -rw-r--r-- 4.2 KB
mpage.c -rw-r--r-- 18.5 KB
namei.c -rw-r--r-- 139.7 KB
namespace.c -rw-r--r-- 134.6 KB
nsfs.c -rw-r--r-- 5.6 KB
open.c -rw-r--r-- 40.0 KB
pidfs.c -rw-r--r-- 7.4 KB
pipe.c -rw-r--r-- 36.6 KB
pnode.c -rw-r--r-- 16.2 KB
pnode.h -rw-r--r-- 2.1 KB
posix_acl.c -rw-r--r-- 31.3 KB
proc_namespace.c -rw-r--r-- 7.9 KB
read_write.c -rw-r--r-- 40.6 KB
readdir.c -rw-r--r-- 15.1 KB
remap_range.c -rw-r--r-- 14.1 KB
select.c -rw-r--r-- 34.8 KB
seq_file.c -rw-r--r-- 25.7 KB
signalfd.c -rw-r--r-- 8.7 KB
splice.c -rw-r--r-- 46.6 KB
stack.c -rw-r--r-- 2.6 KB
stat.c -rw-r--r-- 23.2 KB
statfs.c -rw-r--r-- 9.7 KB
super.c -rw-r--r-- 58.0 KB
sync.c -rw-r--r-- 10.4 KB
sysctls.c -rw-r--r-- 784 bytes
timerfd.c -rw-r--r-- 13.9 KB
userfaultfd.c -rw-r--r-- 58.7 KB
utimes.c -rw-r--r-- 7.7 KB
xattr.c -rw-r--r-- 36.0 KB

back to top