Skip to contentSkip to conversation

Fix warning for token-ring from sysctl checker

PATCH In review Olof Johansson 4 participants 6 messages Nov 13, 2007 – Nov 15, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix warning for token-ring from sysctl checker

As seen when booting ppc64_defconfig:

sysctl table check failed: /net/token-ring .3.14 procname does not match binary path procname

kernel/sysctl_check.c +1 -1
index 5a2f2b2..4abc6d2 100644
@@ -738,7 +738,7 @@ static struct trans_ctl_table trans_net_table[] = {
 	{ 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 },
#2 lore raw
Quoted 5 lines · David Miller

From: Olof Johansson <[email protected]>
Date: Tue, 13 Nov 2007 01:23:13 -0600

Quoted 2 lines

As seen when booting ppc64_defconfig:

Quoted 7 lines
Quoted 1 line

sysctl table check failed: /net/token-ring .3.14 procname does not match

binary path procname

Quoted 3 lines

Patch applied, thanks Olof.

No objections but I think we already have this fixed in the -mm tree.

Eric

#3 lore raw
Quoted 8 lines · On Wed, 14 Nov 2007 08:56:20 -0700 Eric W. Biederman wrote:
Quoted 6 lines · David Miller

From: Olof Johansson <[email protected]>
Date: Tue, 13 Nov 2007 01:23:13 -0600

Quoted 3 lines

As seen when booting ppc64_defconfig:

sysctl table check failed: /net/token-ring .3.14 procname does not match

Quoted 8 lines
Quoted 6 lines

binary path procname

Quoted 3 lines

Patch applied, thanks Olof.

No objections but I think we already have this fixed in the -mm tree.

Yes, I patched it several weeks ago and it's been in -mm for a while now. Apparently too long.

---
~Randy

#4 lore raw
Quoted 13 lines · Randy Dunlap
Quoted 11 lines · On Wed, 14 Nov 2007 08:56:20 -0700 Eric W. Biederman wrote:
Quoted 9 lines · David Miller

From: Olof Johansson <[email protected]>
Date: Tue, 13 Nov 2007 01:23:13 -0600

Quoted 3 lines

As seen when booting ppc64_defconfig:

sysctl table check failed: /net/token-ring .3.14 procname does not match

binary path procname

Quoted 2 lines
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Patch applied, thanks Olof.

No objections but I think we already have this fixed in the -mm tree.

Yes, I patched it several weeks ago and it's been in -mm for a while now. Apparently too long.

Ah, sorry for the duplicate patch then. I must have missed it at the original posting (and didn't search that far back and/or -mm before posting it myself).

-Olof

#5 lore raw
Quoted 18 lines · Olof Johansson
Quoted 17 lines · Randy Dunlap
Quoted 15 lines · On Wed, 14 Nov 2007 08:56:20 -0700 Eric W. Biederman wrote:
Quoted 12 lines · David Miller

From: Olof Johansson <[email protected]>
Date: Tue, 13 Nov 2007 01:23:13 -0600

Quoted 3 lines

As seen when booting ppc64_defconfig:

sysctl table check failed: /net/token-ring .3.14 procname does not match

binary path procname

Quoted 3 lines

Patch applied, thanks Olof.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

No objections but I think we already have this fixed in the -mm tree.

Yes, I patched it several weeks ago and it's been in -mm for a while now. Apparently too long.

Ah, sorry for the duplicate patch then. I must have missed it at the original posting (and didn't search that far back and/or -mm before posting it myself).

As long as the patch gets merged and makes it's way upstream so people can use the token-ring code I don't really care who posts it.

Eric