Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
6bafc64
ipvs: fix WARNING in __ip_vs_cleanup_batch()
pvts-mat Nov 4, 2025
11b893f
ipvs: fix WARNING in ip_vs_app_net_cleanup()
pvts-mat Nov 4, 2025
ad65229
netfilter: ipset: Rework long task execution when adding/deleting ent…
pvts-mat Nov 4, 2025
e578a08
netfilter: br_netfilter: disable sabotage_in hook after first suppres…
pvts-mat Nov 4, 2025
ae7f79d
netfilter: br_netfilter: fix recent physdev match breakage
pvts-mat Nov 4, 2025
acd52c2
netfilter: ebtables: fix table blob use-after-free
pvts-mat Nov 4, 2025
e1b0225
netfilter: ebtables: fix memory leak when blob is malformed
pvts-mat Nov 4, 2025
4c0e787
netfilter: tproxy: fix deadlock due to missing BH disable
pvts-mat Nov 4, 2025
195d07d
netfilter: nf_tables: do not set up extensions for end interval
pvts-mat Nov 4, 2025
7e98dc0
netfilter: nft_set_rbtree: Switch to node list walk for overlap detec…
pvts-mat Nov 4, 2025
7d39d3b
netfilter: nft_set_rbtree: skip elements in transaction from garbage …
pvts-mat Nov 4, 2025
2986f4c
netfilter: nf_tables: allow to fetch set elements when table has an o…
pvts-mat Nov 4, 2025
8cfd39f
netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_…
pvts-mat Nov 4, 2025
995d7c4
netfilter: conntrack: fix rmmod double-free race
pvts-mat Nov 4, 2025
bd527b0
netfilter: conntrack: restore IPS_CONFIRMED out of nf_conntrack_hash_…
pvts-mat Nov 4, 2025
c828288
netfilter: conntrack: adopt safer max chain length
pvts-mat Nov 4, 2025
bbc00e7
netfilter: nft_nat: correct length for loading protocol registers
pvts-mat Nov 4, 2025
1e47be7
netfilter: nft_masq: correct length for loading protocol registers
pvts-mat Nov 4, 2025
e0f57c9
netfilter: nft_redir: correct length for loading protocol registers
pvts-mat Nov 4, 2025
de88143
netfilter: nft_redir: correct value of inet type `.maxattrs`
pvts-mat Nov 4, 2025
33add70
netfilter: nf_tables: tighten netlink attribute requirements for catc…
pvts-mat Nov 4, 2025
6d96850
netfilter: conntrack: fix wrong ct->timeout value
pvts-mat Nov 4, 2025
96b422a
netfilter: nf_tables: don't write table validation state without mutex
pvts-mat Nov 4, 2025
0aa06c4
netfilter: nf_tables: fix nft_trans type confusion
pvts-mat Nov 4, 2025
b3ca6c7
netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthe…
pvts-mat Nov 4, 2025
e740c8b
netfilter: nf_tables: Add null check for nla_nest_start_noflag() in n…
pvts-mat Nov 4, 2025
6d63ba1
netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
pvts-mat Nov 4, 2025
3e580e7
netfilter: nf_tables: always release netdev hooks from notifier
pvts-mat Nov 4, 2025
fdbefad
netfilter: nft_set_rbtree: fix null deref on element insertion
pvts-mat Nov 4, 2025
4f056ea
netfilter: ipset: Add schedule point in call_ad().
pvts-mat Nov 4, 2025
4dce7e0
netfilter: nf_tables: Extend nft_expr_ops::dump callback parameters
pvts-mat Nov 4, 2025
6328864
netfilter: nf_tables: Introduce NFT_MSG_GETRULE_RESET
pvts-mat Nov 4, 2025
e6245f6
netfilter: nf_tables: set element extended ACK reporting support
pvts-mat Nov 4, 2025
ae869ba
netfilter: nf_tables: add support to destroy operation
pvts-mat Nov 4, 2025
3075a9c
netfilter: nf_tables: fix wrong pointer passed to PTR_ERR()
pvts-mat Nov 4, 2025
f1158e6
netfilter: nf_tables: Introduce NFT_MSG_GETSETELEM_RESET
pvts-mat Nov 4, 2025
4fc5ea7
netfilter: nf_tables: upfront validation of data via nft_data_init()
pvts-mat Nov 4, 2025
745b901
netfilter: nf_tables: integrate pipapo into commit protocol
pvts-mat Nov 4, 2025
bad5a80
netfilter: nf_tables: relax set/map validation checks
pvts-mat Nov 4, 2025
55ce50f
netfilter: nft_set_pipapo: .walk does not deal with generations
pvts-mat Nov 4, 2025
4d4a741
netfilter: nf_tables: validate variable length element extension
pvts-mat Nov 4, 2025
6ccf936
netfilter: nf_tables: drop map element references from preparation phase
pvts-mat Nov 4, 2025
759de13
netfilter: nf_tables: fix underflow in object reference counter
pvts-mat Nov 4, 2025
a77f9c5
netfilter: nf_tables: disallow element updates of bound anonymous sets
pvts-mat Nov 4, 2025
86d3a06
netfilter: nf_tables: reject unbound anonymous set before commit phase
pvts-mat Nov 4, 2025
cf226eb
netfilter: nf_tables: reject unbound chain set before commit phase
pvts-mat Nov 4, 2025
9fff629
netfilter: nf_tables: disallow updates of anonymous sets
pvts-mat Nov 4, 2025
6c6e706
netfilter: nf_tables: disallow timeout for anonymous sets
pvts-mat Nov 4, 2025
2727f4d
netfilter: nf_tables: fix underflow in chain reference counter
pvts-mat Nov 4, 2025
1ad0481
netfilter: nf_tables: report use refcount overflow
pvts-mat Nov 4, 2025
c05036b
netfilter: nf_tables: fix spurious set element insertion failure
pvts-mat Nov 4, 2025
2e22d60
netfilter: nf_tables: skip bound chain in netns release path
pvts-mat Nov 4, 2025
510e25b
netfilter: nf_tables: don't skip expired elements during walk
pvts-mat Nov 4, 2025
99ec693
netfilter: nf_tables: GC transaction API to avoid race with control p…
pvts-mat Nov 4, 2025
96ad947
netfilter: nft_set_rbtree: fix overlap expiration walk
pvts-mat Nov 4, 2025
d8c39e8
netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
pvts-mat Nov 4, 2025
0ae89f6
netfilter: nf_tables: adapt set backend to use GC transaction API
pvts-mat Nov 4, 2025
c1f92c1
netfilter: nft_set_hash: mark set element as dead when deleting from …
pvts-mat Nov 4, 2025
c18990e
netfilter: nf_tables: remove busy mark and gc batch API
pvts-mat Nov 4, 2025
6511d02
netfilter: nf_tables: fix false-positive lockdep splat
pvts-mat Nov 4, 2025
24971f0
netfilter: nf_tables: fix kdoc warnings after gc rework
pvts-mat Nov 4, 2025
28a4b7d
netfilter: nf_tables: deactivate catchall elements in next generation
pvts-mat Nov 4, 2025
46872e7
netfilter: nf_tables: don't fail inserts if duplicate has expired
pvts-mat Nov 4, 2025
9bf2b30
netfilter: nf_tables: fix GC transaction races with netns and netlink…
pvts-mat Nov 4, 2025
e1cf3c9
netfilter: nf_tables: GC transaction race with netns dismantle
pvts-mat Nov 4, 2025
39b5e8b
netfilter: nft_dynset: disallow object maps
pvts-mat Nov 4, 2025
4affbb6
netfilter: nf_tables: flush pending destroy work before netlink notifier
pvts-mat Nov 4, 2025
36830be
netfilter: nf_tables: GC transaction race with abort path
pvts-mat Nov 4, 2025
661d638
netfilter: nf_tables: use correct lock to protect gc_list
pvts-mat Nov 4, 2025
8f56d97
netfilter: nf_tables: fix out of memory error handling
pvts-mat Nov 4, 2025
487d80d
netfilter: nf_tables: defer gc run if previous batch is still pending
pvts-mat Nov 4, 2025
24c339c
netfilter: nft_set_rbtree: skip sync GC for new elements in this tran…
pvts-mat Nov 4, 2025
f5a0b4c
netfilter: nf_tables: disallow rule removal from chain binding
pvts-mat Nov 4, 2025
7bfc6fa
netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
pvts-mat Nov 4, 2025
43acab1
netfilter: nft_set_rbtree: use read spinlock to avoid datapath conten…
pvts-mat Nov 4, 2025
ba0fb91
netfilter: nft_set_pipapo: stop GC iteration if GC transaction alloca…
pvts-mat Nov 4, 2025
6b910c2
netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
pvts-mat Nov 4, 2025
3a5e5d0
netfilter: nf_tables: disallow element removal on anonymous sets
pvts-mat Nov 4, 2025
758fb96
netfilter: nf_tables: disable toggling dormant table state more than …
pvts-mat Nov 4, 2025
86ac6f0
netfilter: nf_tables: fix memleak when more than 255 elements expired
pvts-mat Nov 4, 2025
ef2761a
netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
pvts-mat Nov 4, 2025
3820522
netfilter: nf_tables: work around newrule after chain binding
pvts-mat Nov 4, 2025
1b11b60
netfilter: nft_set_pipapo: no need to call pipapo_deactivate() from f…
pvts-mat Nov 4, 2025
778f645
netfilter: nf_tables: set backend .flush always succeeds
pvts-mat Nov 4, 2025
7a86290
netfilter: nf_tables: expose opaque set element as struct nft_elem_priv
fw-strlen Nov 9, 2023
00d9597
netfilter: nf_tables: remove catchall element in GC sync path
pvts-mat Nov 4, 2025
4e19119
netfilter: nf_tables: split async and sync catchall in two functions
pvts-mat Nov 4, 2025
f42d935
netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert…
pvts-mat Nov 4, 2025
75d9c7c
netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
pvts-mat Nov 4, 2025
4c03095
netfilter: nft_set_rbtree: skip end interval element from gc
pvts-mat Nov 4, 2025
8d85b80
netfilter: nf_tables: mark set as dead when unbinding anonymous set w…
pvts-mat Nov 6, 2025
b434d9d
netfilter: nf_tables: release batch on table validation from abort path
pvts-mat Nov 4, 2025
e4508ce
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