diff options
Diffstat (limited to 'target/linux/generic/hack-5.10/902-debloat_proc.patch')
-rw-r--r-- | target/linux/generic/hack-5.10/902-debloat_proc.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/hack-5.10/902-debloat_proc.patch b/target/linux/generic/hack-5.10/902-debloat_proc.patch index 5d7620b80d..33a3e3c5d5 100644 --- a/target/linux/generic/hack-5.10/902-debloat_proc.patch +++ b/target/linux/generic/hack-5.10/902-debloat_proc.patch @@ -286,7 +286,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> goto err; --- a/net/core/net-procfs.c +++ b/net/core/net-procfs.c -@@ -290,10 +290,12 @@ static int __net_init dev_proc_net_init( +@@ -320,10 +320,12 @@ static int __net_init dev_proc_net_init( if (!proc_create_net("dev", 0444, net->proc_net, &dev_seq_ops, sizeof(struct seq_net_private))) goto out; @@ -301,7 +301,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> sizeof(struct seq_net_private))) goto out_softnet; -@@ -303,9 +305,11 @@ static int __net_init dev_proc_net_init( +@@ -333,9 +335,11 @@ static int __net_init dev_proc_net_init( out: return rc; out_ptype: @@ -315,7 +315,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> out_dev: remove_proc_entry("dev", net->proc_net); goto out; -@@ -315,8 +319,10 @@ static void __net_exit dev_proc_net_exit +@@ -345,8 +349,10 @@ static void __net_exit dev_proc_net_exit { wext_proc_exit(net); |