Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
57f5c51
ipvs: fix WARNING in __ip_vs_cleanup_batch()
pvts-mat Nov 4, 2025
6abf37f
ipvs: fix WARNING in ip_vs_app_net_cleanup()
pvts-mat Nov 4, 2025
b98c9e1
netfilter: ipset: Rework long task execution when adding/deleting ent…
pvts-mat Nov 4, 2025
32f0f88
netfilter: br_netfilter: disable sabotage_in hook after first suppres…
pvts-mat Nov 4, 2025
fa24e83
netfilter: br_netfilter: fix recent physdev match breakage
pvts-mat Nov 4, 2025
bd72688
netfilter: ebtables: fix table blob use-after-free
pvts-mat Nov 4, 2025
9216afa
netfilter: ebtables: fix memory leak when blob is malformed
pvts-mat Nov 4, 2025
c7d8326
netfilter: tproxy: fix deadlock due to missing BH disable
pvts-mat Nov 4, 2025
fb225ea
netfilter: nf_tables: do not set up extensions for end interval
pvts-mat Nov 4, 2025
9ccfa1c
netfilter: nft_set_rbtree: Switch to node list walk for overlap detec…
pvts-mat Nov 4, 2025
357195e
netfilter: nft_set_rbtree: skip elements in transaction from garbage …
pvts-mat Nov 4, 2025
0091981
netfilter: nf_tables: allow to fetch set elements when table has an o…
pvts-mat Nov 4, 2025
20d501f
netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_…
pvts-mat Nov 4, 2025
0b95e9b
netfilter: conntrack: fix rmmod double-free race
pvts-mat Nov 4, 2025
dc0d099
netfilter: conntrack: restore IPS_CONFIRMED out of nf_conntrack_hash_…
pvts-mat Nov 4, 2025
83124b4
netfilter: conntrack: adopt safer max chain length
pvts-mat Nov 4, 2025
1b857d4
netfilter: nft_nat: correct length for loading protocol registers
pvts-mat Nov 4, 2025
447d85c
netfilter: nft_masq: correct length for loading protocol registers
pvts-mat Nov 4, 2025
e1e661b
netfilter: nft_redir: correct length for loading protocol registers
pvts-mat Nov 4, 2025
123af97
netfilter: nft_redir: correct value of inet type `.maxattrs`
pvts-mat Nov 4, 2025
47bd453
netfilter: nf_tables: tighten netlink attribute requirements for catc…
pvts-mat Nov 4, 2025
c1a1eda
netfilter: conntrack: fix wrong ct->timeout value
pvts-mat Nov 4, 2025
e3430b4
netfilter: nf_tables: don't write table validation state without mutex
pvts-mat Nov 4, 2025
17c94a0
netfilter: nf_tables: fix nft_trans type confusion
pvts-mat Nov 4, 2025
953d9e5
netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthe…
pvts-mat Nov 4, 2025
aae18ee
netfilter: nf_tables: Add null check for nla_nest_start_noflag() in n…
pvts-mat Nov 4, 2025
2a8d0f8
netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
pvts-mat Nov 4, 2025
29c892c
netfilter: nf_tables: always release netdev hooks from notifier
pvts-mat Nov 4, 2025
d8c7f23
netfilter: nft_set_rbtree: fix null deref on element insertion
pvts-mat Nov 4, 2025
a4bd02a
netfilter: ipset: Add schedule point in call_ad().
pvts-mat Nov 4, 2025
84bd3d9
netfilter: nf_tables: upfront validation of data via nft_data_init()
pvts-mat Nov 4, 2025
38a2eae
netfilter: nf_tables: integrate pipapo into commit protocol
pvts-mat Nov 4, 2025
3e6c036
netfilter: nf_tables: relax set/map validation checks
pvts-mat Nov 4, 2025
97eb9a9
netfilter: nft_set_pipapo: .walk does not deal with generations
pvts-mat Nov 4, 2025
0f7dccc
netfilter: nf_tables: validate variable length element extension
pvts-mat Nov 4, 2025
1a84dee
netfilter: nf_tables: drop map element references from preparation phase
pvts-mat Nov 4, 2025
268e019
netfilter: nf_tables: fix underflow in object reference counter
pvts-mat Nov 4, 2025
231900d
netfilter: nf_tables: disallow element updates of bound anonymous sets
pvts-mat Nov 4, 2025
031fad6
netfilter: nf_tables: reject unbound anonymous set before commit phase
pvts-mat Nov 4, 2025
5e4b3e0
netfilter: nf_tables: reject unbound chain set before commit phase
pvts-mat Nov 4, 2025
135a883
netfilter: nf_tables: disallow updates of anonymous sets
pvts-mat Nov 4, 2025
70805b3
netfilter: nf_tables: disallow timeout for anonymous sets
pvts-mat Nov 4, 2025
9665aa8
netfilter: nf_tables: fix underflow in chain reference counter
pvts-mat Nov 4, 2025
3b0e7bc
netfilter: nf_tables: report use refcount overflow
pvts-mat Nov 4, 2025
cb5e2cd
netfilter: nf_tables: fix spurious set element insertion failure
pvts-mat Nov 4, 2025
962da46
netfilter: nf_tables: skip bound chain in netns release path
pvts-mat Nov 4, 2025
2f57885
netfilter: nf_tables: don't skip expired elements during walk
pvts-mat Nov 4, 2025
672fb4d
netfilter: nf_tables: GC transaction API to avoid race with control p…
pvts-mat Nov 4, 2025
4c36195
netfilter: nft_set_rbtree: fix overlap expiration walk
pvts-mat Nov 4, 2025
d5302ea
netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
pvts-mat Nov 4, 2025
363d4d6
netfilter: nf_tables: adapt set backend to use GC transaction API
pvts-mat Nov 4, 2025
24f55fe
netfilter: nft_set_hash: mark set element as dead when deleting from …
pvts-mat Nov 4, 2025
e85c9b9
netfilter: nf_tables: remove busy mark and gc batch API
pvts-mat Nov 4, 2025
d6f8377
netfilter: nf_tables: fix false-positive lockdep splat
pvts-mat Nov 4, 2025
6b1e827
netfilter: nf_tables: fix kdoc warnings after gc rework
pvts-mat Nov 4, 2025
7f8f505
netfilter: nf_tables: deactivate catchall elements in next generation
pvts-mat Nov 4, 2025
818e323
netfilter: nf_tables: don't fail inserts if duplicate has expired
pvts-mat Nov 4, 2025
5e61402
netfilter: nf_tables: fix GC transaction races with netns and netlink…
pvts-mat Nov 4, 2025
2ad516a
netfilter: nf_tables: GC transaction race with netns dismantle
pvts-mat Nov 4, 2025
e222bd9
netfilter: nft_dynset: disallow object maps
pvts-mat Nov 4, 2025
ba88352
netfilter: nf_tables: flush pending destroy work before netlink notifier
pvts-mat Nov 4, 2025
5ac72e7
netfilter: nf_tables: GC transaction race with abort path
pvts-mat Nov 4, 2025
c84e122
netfilter: nf_tables: use correct lock to protect gc_list
pvts-mat Nov 4, 2025
68d8c53
netfilter: nf_tables: fix out of memory error handling
pvts-mat Nov 4, 2025
0d2043f
netfilter: nf_tables: defer gc run if previous batch is still pending
pvts-mat Nov 4, 2025
5a0da61
netfilter: nft_set_rbtree: skip sync GC for new elements in this tran…
pvts-mat Nov 4, 2025
d5e58bd
netfilter: nf_tables: disallow rule removal from chain binding
pvts-mat Nov 4, 2025
15678b9
netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
pvts-mat Nov 4, 2025
28e99df
netfilter: nft_set_rbtree: use read spinlock to avoid datapath conten…
pvts-mat Nov 4, 2025
bc51b92
netfilter: nft_set_pipapo: stop GC iteration if GC transaction alloca…
pvts-mat Nov 4, 2025
bde76df
netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
pvts-mat Nov 4, 2025
b36dd02
netfilter: nf_tables: disallow element removal on anonymous sets
pvts-mat Nov 4, 2025
f76d039
netfilter: nf_tables: disable toggling dormant table state more than …
pvts-mat Nov 4, 2025
e9f5d5a
netfilter: nf_tables: fix memleak when more than 255 elements expired
pvts-mat Nov 4, 2025
d48698b
netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
pvts-mat Nov 4, 2025
f63aa2e
netfilter: nf_tables: work around newrule after chain binding
pvts-mat Nov 4, 2025
b4219bc
netfilter: nft_set_pipapo: no need to call pipapo_deactivate() from f…
pvts-mat Nov 4, 2025
7028892
netfilter: nf_tables: set backend .flush always succeeds
pvts-mat Nov 4, 2025
667c97b
netfilter: nf_tables: expose opaque set element as struct nft_elem_priv
pvts-mat Dec 3, 2025
fd5ce20
netfilter: nf_tables: remove catchall element in GC sync path
pvts-mat Nov 4, 2025
5165cc4
netfilter: nf_tables: split async and sync catchall in two functions
pvts-mat Nov 4, 2025
2637124
netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert…
pvts-mat Nov 4, 2025
2390fc0
netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
pvts-mat Nov 4, 2025
aa67aa7
netfilter: nft_set_rbtree: skip end interval element from gc
pvts-mat Nov 4, 2025
018fea0
netfilter: nf_tables: mark set as dead when unbinding anonymous set w…
pvts-mat Nov 6, 2025
96c6b6f
netfilter: nf_tables: release batch on table validation from abort path
pvts-mat Nov 4, 2025
b1df305
netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path
pvts-mat Nov 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/linux/netfilter/ipset/ip_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ struct ip_set_region {
};

/* Max range where every element is added/deleted in one step */
#define IPSET_MAX_RANGE (1<<20)
#define IPSET_MAX_RANGE (1<<14)

/* The max revision number supported by any set type + 1 */
#define IPSET_REVISION_MAX 9
Expand Down
1 change: 0 additions & 1 deletion include/linux/netfilter/nfnetlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ struct nfnetlink_subsystem {
int (*commit)(struct net *net, struct sk_buff *skb);
int (*abort)(struct net *net, struct sk_buff *skb,
enum nfnl_abort_action action);
void (*cleanup)(struct net *net);
bool (*valid_genid)(struct net *net, u32 genid);
};

Expand Down
1 change: 1 addition & 0 deletions include/linux/skbuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ struct nf_bridge_info {
u8 pkt_otherhost:1;
u8 in_prerouting:1;
u8 bridged_dnat:1;
u8 sabotage_in_done:1;
__u16 frag_max_size;
struct net_device *physindev;

Expand Down
6 changes: 5 additions & 1 deletion include/net/netfilter/nf_conntrack_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ static inline void __nf_ct_set_timeout(struct nf_conn *ct, u64 timeout)
{
if (timeout > INT_MAX)
timeout = INT_MAX;
WRITE_ONCE(ct->timeout, nfct_time_stamp + (u32)timeout);

if (nf_ct_is_confirmed(ct))
WRITE_ONCE(ct->timeout, nfct_time_stamp + (u32)timeout);
else
ct->timeout = (u32)timeout;
}

int __nf_ct_change_timeout(struct nf_conn *ct, u64 cta_timeout);
Expand Down
Loading
Loading