netfilter: nf_tables: place base_seq in struct net
authorFlorian Westphal <fw@strlen.de>
Wed, 10 Sep 2025 08:02:20 +0000 (10:02 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 10 Sep 2025 18:30:37 +0000 (20:30 +0200)
commit64102d9bbc3d41dac5188b8fba75b1344c438970
treee1c1220fac3cb3e11ebb5fcd65b729346c9c3242
parenta60f7bf4a1524d8896b76ba89623080aebf44272
netfilter: nf_tables: place base_seq in struct net

This will soon be read from packet path around same time as the gencursor.

Both gencursor and base_seq get incremented almost at the same time, so
it makes sense to place them in the same structure.

This doesn't increase struct net size on 64bit due to padding.

Signed-off-by: Florian Westphal <fw@strlen.de>
include/net/netfilter/nf_tables.h
include/net/netns/nftables.h
net/netfilter/nf_tables_api.c