[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48B8256E.5010800@tvcablenet.be>
Date: Fri, 29 Aug 2008 18:35:58 +0200
From: François Valenduc
<francois.valenduc@...ablenet.be>
To: David Miller <davem@...emloft.net>
CC: akpm@...ux-foundation.org, bugme-daemon@...zilla.kernel.org,
netdev@...r.kernel.org, viro@...iv.linux.org.uk
Subject: Re: [Bugme-new] [Bug 11447] New: /proc/sys/net/ipv4/route/flush not
found
David Miller a écrit :
> From: Andrew Morton <akpm@...ux-foundation.org>
> Date: Thu, 28 Aug 2008 13:18:24 -0700
>
>
>> (switched to email. Please respond via emailed reply-to-all, not via the
>> bugzilla web interface).
>>
>
> Should be fixed in Linus's tree as of an hour ago, it was a
> permissions issue:
>
> commit d994af0d50efc96b2077978fe9f066992639d525
> Author: Hugh Dickins <hugh@...itas.com>
> Date: Wed Aug 27 02:35:18 2008 -0700
>
> ipv4: mode 0555 in ipv4_skeleton
>
> vpnc on today's kernel says Cannot open "/proc/sys/net/ipv4/route/flush":
> d--------- 0 root root 0 2008-08-26 11:32 /proc/sys/net/ipv4/route
> d--------- 0 root root 0 2008-08-26 19:16 /proc/sys/net/ipv4/neigh
>
> Signed-off-by: Hugh Dickins <hugh@...itas.com>
> Acked-by: Al Viro <viro@...iv.linux.org.uk>
> Signed-off-by: David S. Miller <davem@...emloft.net>
>
> diff --git a/net/ipv4/route.c b/net/ipv4/route.c
> index e91bafe..6ee5354 100644
> --- a/net/ipv4/route.c
> +++ b/net/ipv4/route.c
> @@ -3121,9 +3121,9 @@ static struct ctl_table empty[1];
> static struct ctl_table ipv4_skeleton[] =
> {
> { .procname = "route", .ctl_name = NET_IPV4_ROUTE,
> - .child = ipv4_route_table},
> + .mode = 0555, .child = ipv4_route_table},
> { .procname = "neigh", .ctl_name = NET_IPV4_NEIGH,
> - .child = empty},
> + .mode = 0555, .child = empty},
> { }
> };
>
>
>
>
This commit indeed solves the problem.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists