You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[NETFILTER]: kill nf_sysctl.c
Since there now is generic support for shared sysctl paths, the only remains are the net/netfilter and net/ipv4/netfilter paths. Move them to net/netfilter/core.c and net/ipv4/netfilter.c and kill nf_sysctl.c. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
86c0bf4095
commit
4f536522da
@@ -211,3 +211,13 @@ static void ipv4_netfilter_fini(void)
|
||||
|
||||
module_init(ipv4_netfilter_init);
|
||||
module_exit(ipv4_netfilter_fini);
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
struct ctl_path nf_net_ipv4_netfilter_sysctl_path[] = {
|
||||
{ .procname = "net", .ctl_name = CTL_NET, },
|
||||
{ .procname = "ipv4", .ctl_name = NET_IPV4, },
|
||||
{ .procname = "netfilter", .ctl_name = NET_IPV4_NETFILTER, },
|
||||
{ }
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(nf_net_ipv4_netfilter_sysctl_path);
|
||||
#endif /* CONFIG_SYSCTL */
|
||||
|
||||
Reference in New Issue
Block a user