]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
netfilter: nf_conntrack: don't rely on implicit includes
authorFlorian Westphal <fw@strlen.de>
Fri, 28 Nov 2025 20:55:53 +0000 (21:55 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 20 Jan 2026 15:23:37 +0000 (16:23 +0100)
commitd00453b6e3a3d2340b88c5292c3c5b5f9c4ece75
tree265440741494ce90e54fced1303a678f823deb50
parent910d2712277583696474cd90dffcb56d3e0ff08e
netfilter: nf_conntrack: don't rely on implicit includes

several netfilter compilation units rely on implicit includes
coming from nf_conntrack_proto_gre.h.

Clean this up and add the required dependencies where needed.

nf_conntrack.h requires net_generic() helper.
Place various gre/ppp/vlan includes to where they are needed.

Signed-off-by: Florian Westphal <fw@strlen.de>
13 files changed:
include/linux/netfilter/nf_conntrack_proto_gre.h
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_bpf.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_conntrack_proto_gre.c
net/netfilter/nf_flow_table_ip.c
net/netfilter/nf_flow_table_offload.c
net/netfilter/nf_flow_table_path.c
net/netfilter/nf_nat_ovs.c
net/netfilter/nf_nat_proto.c
net/netfilter/nft_flow_offload.c
net/sched/act_ct.c
net/sched/act_ctinfo.c