Re: [3.0,3.2][PATCH] decnet: Fix disappearing sysctl entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: ebiederm@xxxxxxxxxxxx (Eric W. Biederman)
Date: Mon, 11 Mar 2013 17:41:28 -0700

> 
> When decnet is built as a module a simple:
> echo 0.0 >/proc/sys/net/decnet/node_address
> 
> results in most of the sysctl entries under /proc/sys/net/decnet and
> /proc/sys/net/decnet/conf disappearing.
> 
> For more details see http://www.spinics.net/lists/netdev/msg226123.html.
> 
> This change applies the same workaround used in
> net/core/sysctl_net_core.c and net/ipv6/sysctl_net_ipv6.c of creating
> a skeleton of decnet sysctl entries before doing anything else.
> 
> The problem first appeared in kernel 2.6.27.  The later rewrite of
> sysctl in kernel 3.4 restored the previous behavior and eliminated the
> need for this workaround.
> 
> This patch was heavily inspired by a similar but more complex patch by
> Larry Baker.
> 
> Reported-by: Larry Baker <baker@xxxxxxxx>
> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

This is fine for -stable.
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]