On Mon, 2013-03-11 at 17:41 -0700, Eric W. Biederman wrote: > 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> [...] Queued up for 3.2, thanks. Ben. -- Ben Hutchings Usenet is essentially a HUGE group of people passing notes in class. - Rachel Kadel, `A Quick Guide to Newsgroup Etiquette'
Attachment:
signature.asc
Description: This is a digitally signed message part