[PATCH] sysctl: fix token-ring procname

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <webmaster@...>, akpm <akpm@...>, Eric W. Biederman <ebiederm@...>
Cc: Daniel Exner <dex@...>, <linux-kernel@...>, Jeff Garzik <jeff@...>, Michal Januszewski <spock@...>
Date: Sunday, October 28, 2007 - 6:25 pm

From: Randy Dunlap <randy.dunlap@oracle.com>
cc: Eric W. Biederman <ebiederm@xmission.com>

Correct the token-ring sysctl procname.

Reported by: Daniel Exner <dex@dragonslave.de>:

Ah, and token ring tells me something like
"/net/token-ring ,3.14 sysctl failed check procname does not match binary path 
procname"
But kernel boots otherwise and I got no chance to test tr itself is working.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 kernel/sysctl_check.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.24-rc1.orig/kernel/sysctl_check.c
+++ linux-2.6.24-rc1/kernel/sysctl_check.c
@@ -738,7 +738,7 @@ static struct trans_ctl_table trans_net_
 	{ NET_ROSE,		"rose",		trans_net_rose_table },
 	{ NET_IPV6,		"ipv6",		trans_net_ipv6_table },
 	{ NET_X25,		"x25",		trans_net_x25_table },
-	{ NET_TR,		"tr",		trans_net_tr_table },
+	{ NET_TR,		"token-ring",	trans_net_tr_table },
 	{ NET_DECNET,		"decnet",	trans_net_decnet_table },
 	/*  NET_ECONET not used */
 	{ NET_SCTP,		"sctp",		trans_net_sctp_table },
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Uvesafb and token-ring in 2.6.24-rc1 broken, Daniel Exner, (Thu Oct 25, 2:37 pm)
[PATCH] sysctl: fix token-ring procname, Randy Dunlap, (Sun Oct 28, 6:25 pm)
Re: [PATCH] sysctl: fix token-ring procname, Eric W. Biederman, (Sun Oct 28, 6:44 pm)