netfilter: nf_tables: reduce nft_pktinfo by 8 bytes
authorFlorian Westphal <fw@strlen.de>
Fri, 14 Oct 2022 22:20:50 +0000 (00:20 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 25 Oct 2022 11:44:14 +0000 (13:44 +0200)
commite7a1caa67ce62765fe174cae08e537d542bb44f8
tree38219297cbac6ab01ee61ceae076f0296682f395
parentac1f8c049319847b1b4c6b387fdb2e3f7fb84ffc
netfilter: nf_tables: reduce nft_pktinfo by 8 bytes

structure is reduced from 32 to 24 bytes.  While at it, also check
that iphdrlen is sane, this is guaranteed for NFPROTO_IPV4 but not
for ingress or bridge, so add checks for this.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
include/net/netfilter/nf_tables_ipv4.h
include/net/netfilter/nf_tables_ipv6.h