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
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
0a9dbb6
netfilter: nf_tables: Extend nft_expr_ops::dump callback parameters
pvts-mat Nov 4, 2025
9e60027
netfilter: nf_tables: Introduce NFT_MSG_GETRULE_RESET
pvts-mat Nov 4, 2025
831e94f
netfilter: nf_tables: set element extended ACK reporting support
pvts-mat Nov 4, 2025
9373d94
netfilter: nf_tables: add support to destroy operation
pvts-mat Nov 4, 2025
4d3403c
netfilter: nf_tables: fix wrong pointer passed to PTR_ERR()
pvts-mat Nov 4, 2025
3a0433a
netfilter: nf_tables: Introduce NFT_MSG_GETSETELEM_RESET
pvts-mat Nov 4, 2025
5b15619
netfilter: nf_tables: upfront validation of data via nft_data_init()
pvts-mat Nov 4, 2025
a6ec042
netfilter: nf_tables: integrate pipapo into commit protocol
pvts-mat Nov 4, 2025
fc529c9
netfilter: nf_tables: relax set/map validation checks
pvts-mat Nov 4, 2025
35539f8
netfilter: nft_set_pipapo: .walk does not deal with generations
pvts-mat Nov 4, 2025
4b2118c
netfilter: nf_tables: validate variable length element extension
pvts-mat Nov 4, 2025
94e7f14
netfilter: nf_tables: drop map element references from preparation phase
pvts-mat Nov 4, 2025
53d8922
netfilter: nf_tables: fix underflow in object reference counter
pvts-mat Nov 4, 2025
b364fc7
netfilter: nf_tables: disallow element updates of bound anonymous sets
pvts-mat Nov 4, 2025
60546ef
netfilter: nf_tables: reject unbound anonymous set before commit phase
pvts-mat Nov 4, 2025
865abbb
netfilter: nf_tables: reject unbound chain set before commit phase
pvts-mat Nov 4, 2025
8543902
netfilter: nf_tables: disallow updates of anonymous sets
pvts-mat Nov 4, 2025
0e4257e
netfilter: nf_tables: disallow timeout for anonymous sets
pvts-mat Nov 4, 2025
7e0d217
netfilter: nf_tables: fix underflow in chain reference counter
pvts-mat Nov 4, 2025
791a1c4
netfilter: nf_tables: report use refcount overflow
pvts-mat Nov 4, 2025
76c619a
netfilter: nf_tables: fix spurious set element insertion failure
pvts-mat Nov 4, 2025
fb61b84
netfilter: nf_tables: skip bound chain in netns release path
pvts-mat Nov 4, 2025
6ac7cf9
netfilter: nf_tables: don't skip expired elements during walk
pvts-mat Nov 4, 2025
f20b3d1
netfilter: nf_tables: GC transaction API to avoid race with control p…
pvts-mat Nov 4, 2025
e6e9f4a
netfilter: nft_set_rbtree: fix overlap expiration walk
pvts-mat Nov 4, 2025
5c467c1
netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
pvts-mat Nov 4, 2025
979027b
netfilter: nf_tables: adapt set backend to use GC transaction API
pvts-mat Nov 4, 2025
c735dca
netfilter: nft_set_hash: mark set element as dead when deleting from …
pvts-mat Nov 4, 2025
35fc7f8
netfilter: nf_tables: remove busy mark and gc batch API
pvts-mat Nov 4, 2025
10d8670
netfilter: nf_tables: fix false-positive lockdep splat
pvts-mat Nov 4, 2025
2caabe7
netfilter: nf_tables: fix kdoc warnings after gc rework
pvts-mat Nov 4, 2025
dc3f47f
netfilter: nf_tables: deactivate catchall elements in next generation
pvts-mat Nov 4, 2025
dc4d96b
netfilter: nf_tables: don't fail inserts if duplicate has expired
pvts-mat Nov 4, 2025
d9411ea
netfilter: nf_tables: fix GC transaction races with netns and netlink…
pvts-mat Nov 4, 2025
4e1bdb5
netfilter: nf_tables: GC transaction race with netns dismantle
pvts-mat Nov 4, 2025
819d340
netfilter: nft_dynset: disallow object maps
pvts-mat Nov 4, 2025
c3501fe
netfilter: nf_tables: flush pending destroy work before netlink notifier
pvts-mat Nov 4, 2025
003f16a
netfilter: nf_tables: GC transaction race with abort path
pvts-mat Nov 4, 2025
2af8206
netfilter: nf_tables: use correct lock to protect gc_list
pvts-mat Nov 4, 2025
b5ef541
netfilter: nf_tables: fix out of memory error handling
pvts-mat Nov 4, 2025
8215032
netfilter: nf_tables: defer gc run if previous batch is still pending
pvts-mat Nov 4, 2025
64cef3c
netfilter: nft_set_rbtree: skip sync GC for new elements in this tran…
pvts-mat Nov 4, 2025
088386e
netfilter: nf_tables: disallow rule removal from chain binding
pvts-mat Nov 4, 2025
385eb17
netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
pvts-mat Nov 4, 2025
b02b275
netfilter: nft_set_rbtree: use read spinlock to avoid datapath conten…
pvts-mat Nov 4, 2025
289c533
netfilter: nft_set_pipapo: stop GC iteration if GC transaction alloca…
pvts-mat Nov 4, 2025
5fc6241
netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
pvts-mat Nov 4, 2025
01f8bc5
netfilter: nf_tables: disallow element removal on anonymous sets
pvts-mat Nov 4, 2025
f83a4fb
netfilter: nf_tables: disable toggling dormant table state more than …
pvts-mat Nov 4, 2025
ffca1b8
netfilter: nf_tables: fix memleak when more than 255 elements expired
pvts-mat Nov 4, 2025
cd99125
netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
pvts-mat Nov 4, 2025
fd335f7
netfilter: nf_tables: work around newrule after chain binding
pvts-mat Nov 4, 2025
dd9b146
netfilter: nft_set_pipapo: no need to call pipapo_deactivate() from f…
pvts-mat Nov 4, 2025
6d81448
netfilter: nf_tables: set backend .flush always succeeds
pvts-mat Nov 4, 2025
eb93588
netfilter: nf_tables: expose opaque set element as struct nft_elem_priv
fw-strlen Nov 9, 2023
4f574b5
netfilter: nf_tables: remove catchall element in GC sync path
pvts-mat Nov 4, 2025
7ed6da7
netfilter: nf_tables: split async and sync catchall in two functions
pvts-mat Nov 4, 2025
cad2875
netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert…
pvts-mat Nov 4, 2025
65bec04
netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
pvts-mat Nov 4, 2025
4c7c53d
netfilter: nft_set_rbtree: skip end interval element from gc
pvts-mat Nov 4, 2025
2a61411
netfilter: nf_tables: mark set as dead when unbinding anonymous set w…
pvts-mat Nov 6, 2025
85f8112
netfilter: nf_tables: release batch on table validation from abort path
pvts-mat Nov 4, 2025
1a8251f
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