Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=64396accc2831fcbdc7d793edc25481a5ebc75b2
Commit:     64396accc2831fcbdc7d793edc25481a5ebc75b2
Parent:     421d99193537a6522aac2148286f08792167d5fd
Author:     Eric W. Biederman <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 17 16:20:28 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Dec 17 19:28:17 2007 -0800

    sysctl: fix ax25 checks
    
    Fix:
    
    sysctl table check failed: /net/ax25/ax0/ax25_default_mode .3.9.1.2 Unknown
    sysctl binary path
    Pid: 2936, comm: kissattach Not tainted 2.6.24-rc5 #1
     [<c012ca6a>] set_fail+0x3b/0x43
     [<c012ce7a>] sysctl_check_table+0x408/0x456
     [<c012ce8e>] sysctl_check_table+0x41c/0x456
     [<c012ce8e>] sysctl_check_table+0x41c/0x456
     ...
    
    Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>
    Cc: Bernard Pidoux <[EMAIL PROTECTED]>
    Cc: "David S. Miller" <[EMAIL PROTECTED]>
    Cc: "Rafael J. Wysocki" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 kernel/sysctl_check.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c
index bed939f..a68425a 100644
--- a/kernel/sysctl_check.c
+++ b/kernel/sysctl_check.c
@@ -428,7 +428,7 @@ static struct trans_ctl_table trans_net_netrom_table[] = {
        {}
 };
 
-static struct trans_ctl_table trans_net_ax25_table[] = {
+static struct trans_ctl_table trans_net_ax25_param_table[] = {
        { NET_AX25_IP_DEFAULT_MODE,     "ip_default_mode" },
        { NET_AX25_DEFAULT_MODE,        "ax25_default_mode" },
        { NET_AX25_BACKOFF_TYPE,        "backoff_type" },
@@ -446,6 +446,11 @@ static struct trans_ctl_table trans_net_ax25_table[] = {
        {}
 };
 
+static struct trans_ctl_table trans_net_ax25_table[] = {
+       { 0, NULL, trans_net_ax25_param_table },
+       {}
+};
+
 static struct trans_ctl_table trans_net_bridge_table[] = {
        { NET_BRIDGE_NF_CALL_ARPTABLES,         "bridge-nf-call-arptables" },
        { NET_BRIDGE_NF_CALL_IPTABLES,          "bridge-nf-call-iptables" },
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to