diff options
author | Florian Westphal <fw@strlen.de> | 2022-01-20 13:07:00 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-02-04 06:30:28 +0100 |
commit | 5f31edc0676b55cd6baf5ba119d1881f3fbadee1 (patch) | |
tree | 638585d436ae8487042bf5cbd51d018b857511ed /net/netfilter/nf_conntrack_seqadj.c | |
parent | bb62a765b1b5597d32a426096aa78d2a8eb6b091 (diff) | |
download | linux-5f31edc0676b55cd6baf5ba119d1881f3fbadee1.tar.gz |
netfilter: conntrack: move extension sizes into core
No need to specify this in the registration modules, we already
collect all sizes for build-time checks on the maximum combined size.
After this change, all extensions except nat have no meaningful content
in their nf_ct_ext_type struct definition.
Next patch handles nat, this will then allow to remove the dynamic
register api completely.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_seqadj.c')
-rw-r--r-- | net/netfilter/nf_conntrack_seqadj.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_seqadj.c b/net/netfilter/nf_conntrack_seqadj.c index b13b3a8a1082ac..b9629916e53d95 100644 --- a/net/netfilter/nf_conntrack_seqadj.c +++ b/net/netfilter/nf_conntrack_seqadj.c @@ -234,7 +234,6 @@ s32 nf_ct_seq_offset(const struct nf_conn *ct, EXPORT_SYMBOL_GPL(nf_ct_seq_offset); static const struct nf_ct_ext_type nf_ct_seqadj_extend = { - .len = sizeof(struct nf_conn_seqadj), .id = NF_CT_EXT_SEQADJ, }; |