Skip to content
Draft
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
9ea2e01
ipvs: fix WARNING in __ip_vs_cleanup_batch()
pvts-mat Nov 4, 2025
df071a1
ipvs: fix WARNING in ip_vs_app_net_cleanup()
pvts-mat Nov 4, 2025
83586e9
netfilter: ipset: Rework long task execution when adding/deleting ent…
pvts-mat Nov 4, 2025
586f749
netfilter: br_netfilter: disable sabotage_in hook after first suppres…
pvts-mat Nov 4, 2025
db982d7
netfilter: br_netfilter: fix recent physdev match breakage
pvts-mat Nov 4, 2025
2d19320
netfilter: ebtables: fix table blob use-after-free
pvts-mat Nov 4, 2025
5d2a3ac
netfilter: ebtables: fix memory leak when blob is malformed
pvts-mat Nov 4, 2025
ff33946
netfilter: tproxy: fix deadlock due to missing BH disable
pvts-mat Nov 4, 2025
c01bdb1
netfilter: nf_tables: do not set up extensions for end interval
pvts-mat Nov 4, 2025
2b3e14a
netfilter: nft_set_rbtree: Switch to node list walk for overlap detec…
pvts-mat Nov 4, 2025
530707e
netfilter: nft_set_rbtree: skip elements in transaction from garbage …
pvts-mat Nov 4, 2025
75e19ce
netfilter: nf_tables: allow to fetch set elements when table has an o…
pvts-mat Nov 4, 2025
709f6c7
netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_…
pvts-mat Nov 4, 2025
47d4b36
netfilter: conntrack: fix rmmod double-free race
pvts-mat Nov 4, 2025
a9e9413
netfilter: conntrack: restore IPS_CONFIRMED out of nf_conntrack_hash_…
pvts-mat Nov 4, 2025
5a452bf
netfilter: conntrack: adopt safer max chain length
pvts-mat Nov 4, 2025
688e12d
netfilter: nft_nat: correct length for loading protocol registers
pvts-mat Nov 4, 2025
95a0cd8
netfilter: nft_masq: correct length for loading protocol registers
pvts-mat Nov 4, 2025
daacca3
netfilter: nft_redir: correct length for loading protocol registers
pvts-mat Nov 4, 2025
331c4c4
netfilter: nft_redir: correct value of inet type `.maxattrs`
pvts-mat Nov 4, 2025
c673ff1
netfilter: nf_tables: tighten netlink attribute requirements for catc…
pvts-mat Nov 4, 2025
0787373
netfilter: conntrack: fix wrong ct->timeout value
pvts-mat Nov 4, 2025
f10e9fb
netfilter: nf_tables: don't write table validation state without mutex
pvts-mat Nov 4, 2025
4932872
netfilter: nf_tables: fix nft_trans type confusion
pvts-mat Nov 4, 2025
15a0b41
netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthe…
pvts-mat Nov 4, 2025
996ccaa
netfilter: nf_tables: Add null check for nla_nest_start_noflag() in n…
pvts-mat Nov 4, 2025
4202b18
netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
pvts-mat Nov 4, 2025
2c3697b
netfilter: nf_tables: always release netdev hooks from notifier
pvts-mat Nov 4, 2025
4d74dd2
netfilter: nft_set_rbtree: fix null deref on element insertion
pvts-mat Nov 4, 2025
6e0ea29
netfilter: ipset: Add schedule point in call_ad().
pvts-mat Nov 4, 2025
fa1abba
netfilter: nf_tables: Extend nft_expr_ops::dump callback parameters
pvts-mat Nov 4, 2025
6ae8fd3
netfilter: nf_tables: Introduce NFT_MSG_GETRULE_RESET
pvts-mat Nov 4, 2025
8a0661f
netfilter: nf_tables: set element extended ACK reporting support
pvts-mat Nov 4, 2025
a4771f9
netfilter: nf_tables: add support to destroy operation
pvts-mat Nov 4, 2025
75be230
netfilter: nf_tables: fix wrong pointer passed to PTR_ERR()
pvts-mat Nov 4, 2025
b39b3ba
netfilter: nf_tables: Introduce NFT_MSG_GETSETELEM_RESET
pvts-mat Nov 4, 2025
fecc5cd
netfilter: nf_tables: upfront validation of data via nft_data_init()
pvts-mat Nov 4, 2025
dfc6126
netfilter: nf_tables: integrate pipapo into commit protocol
pvts-mat Nov 4, 2025
2efc7fd
netfilter: nf_tables: relax set/map validation checks
pvts-mat Nov 4, 2025
ba24727
netfilter: nft_set_pipapo: .walk does not deal with generations
pvts-mat Nov 4, 2025
cde4746
netfilter: nf_tables: validate variable length element extension
pvts-mat Nov 4, 2025
70c31ad
netfilter: nf_tables: drop map element references from preparation phase
pvts-mat Nov 4, 2025
9fc975e
netfilter: nf_tables: fix underflow in object reference counter
pvts-mat Nov 4, 2025
a42ed10
netfilter: nf_tables: disallow element updates of bound anonymous sets
pvts-mat Nov 4, 2025
6808ba0
netfilter: nf_tables: reject unbound anonymous set before commit phase
pvts-mat Nov 4, 2025
379728b
netfilter: nf_tables: reject unbound chain set before commit phase
pvts-mat Nov 4, 2025
b3b5876
netfilter: nf_tables: disallow updates of anonymous sets
pvts-mat Nov 4, 2025
9ffa1d4
netfilter: nf_tables: disallow timeout for anonymous sets
pvts-mat Nov 4, 2025
cf5d8f5
netfilter: nf_tables: fix underflow in chain reference counter
pvts-mat Nov 4, 2025
b0c8e94
netfilter: nf_tables: report use refcount overflow
pvts-mat Nov 4, 2025
1ee7617
netfilter: nf_tables: fix spurious set element insertion failure
pvts-mat Nov 4, 2025
53ae443
netfilter: nf_tables: skip bound chain in netns release path
pvts-mat Nov 4, 2025
a25ad63
netfilter: nf_tables: don't skip expired elements during walk
pvts-mat Nov 4, 2025
66663eb
netfilter: nf_tables: GC transaction API to avoid race with control p…
pvts-mat Nov 4, 2025
1c72035
netfilter: nft_set_rbtree: fix overlap expiration walk
pvts-mat Nov 4, 2025
37541a7
netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
pvts-mat Nov 4, 2025
8932180
netfilter: nf_tables: adapt set backend to use GC transaction API
pvts-mat Nov 4, 2025
5176fe9
netfilter: nft_set_hash: mark set element as dead when deleting from …
pvts-mat Nov 4, 2025
ca6e9cf
netfilter: nf_tables: remove busy mark and gc batch API
pvts-mat Nov 4, 2025
a0a91f7
netfilter: nf_tables: fix false-positive lockdep splat
pvts-mat Nov 4, 2025
fa956ea
netfilter: nf_tables: fix kdoc warnings after gc rework
pvts-mat Nov 4, 2025
136a919
netfilter: nf_tables: deactivate catchall elements in next generation
pvts-mat Nov 4, 2025
394c480
netfilter: nf_tables: don't fail inserts if duplicate has expired
pvts-mat Nov 4, 2025
ca02f6e
netfilter: nf_tables: fix GC transaction races with netns and netlink…
pvts-mat Nov 4, 2025
819d0ed
netfilter: nf_tables: GC transaction race with netns dismantle
pvts-mat Nov 4, 2025
f6014c3
netfilter: nft_dynset: disallow object maps
pvts-mat Nov 4, 2025
63df531
netfilter: nf_tables: flush pending destroy work before netlink notifier
pvts-mat Nov 4, 2025
9ef4dc2
netfilter: nf_tables: GC transaction race with abort path
pvts-mat Nov 4, 2025
4572356
netfilter: nf_tables: use correct lock to protect gc_list
pvts-mat Nov 4, 2025
3313a98
netfilter: nf_tables: fix out of memory error handling
pvts-mat Nov 4, 2025
9744f3c
netfilter: nf_tables: defer gc run if previous batch is still pending
pvts-mat Nov 4, 2025
ff501e7
netfilter: nft_set_rbtree: skip sync GC for new elements in this tran…
pvts-mat Nov 4, 2025
89d6ab2
netfilter: nf_tables: disallow rule removal from chain binding
pvts-mat Nov 4, 2025
e7ebc39
netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
pvts-mat Nov 4, 2025
fd09e77
netfilter: nft_set_rbtree: use read spinlock to avoid datapath conten…
pvts-mat Nov 4, 2025
7bb1720
netfilter: nft_set_pipapo: stop GC iteration if GC transaction alloca…
pvts-mat Nov 4, 2025
b5c6baa
netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
pvts-mat Nov 4, 2025
80b9442
netfilter: nf_tables: disallow element removal on anonymous sets
pvts-mat Nov 4, 2025
29b8b9a
netfilter: nf_tables: disable toggling dormant table state more than …
pvts-mat Nov 4, 2025
25dfead
netfilter: nf_tables: fix memleak when more than 255 elements expired
pvts-mat Nov 4, 2025
66a1d3c
netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
pvts-mat Nov 4, 2025
1721738
netfilter: nf_tables: work around newrule after chain binding
pvts-mat Nov 4, 2025
7c0a2d9
netfilter: nft_set_pipapo: no need to call pipapo_deactivate() from f…
pvts-mat Nov 4, 2025
f21727c
netfilter: nf_tables: set backend .flush always succeeds
pvts-mat Nov 4, 2025
a35dbfa
netfilter: nf_tables: expose opaque set element as struct nft_elem_priv
fw-strlen Nov 9, 2023
1b3a51c
netfilter: nf_tables: remove catchall element in GC sync path
pvts-mat Nov 4, 2025
e774e89
netfilter: nf_tables: split async and sync catchall in two functions
pvts-mat Nov 4, 2025
d9e0b48
netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert…
pvts-mat Nov 4, 2025
b301e6d
netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
pvts-mat Nov 4, 2025
45724b2
netfilter: nft_set_rbtree: skip end interval element from gc
pvts-mat Nov 4, 2025
46a1bbb
netfilter: nf_tables: mark set as dead when unbinding anonymous set w…
pvts-mat Nov 6, 2025
6e190e5
netfilter: nf_tables: release batch on table validation from abort path
pvts-mat Nov 4, 2025
520390b
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