From: Alexey Dobriyan <adobriyan@gmail.com>
To: ahendry <ahendry@tusc.com.au>
Cc: linux-x25@vger.kernel.org, eis@baty.hanse.de,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH 2/3] X.25: Adds /proc/sys/net/x25/x25_forward to control forwarding.
Date: Thu, 8 Feb 2007 23:22:11 +0300 [thread overview]
Message-ID: <20070208202211.GB5532@martell.zuzino.mipt.ru> (raw)
In-Reply-To: <20070208201909.GA5532@martell.zuzino.mipt.ru>
On Thu, Feb 08, 2007 at 11:19:09PM +0300, Alexey Dobriyan wrote:
> On Thu, Feb 08, 2007 at 10:14:31AM +1100, ahendry wrote:
> > echo "1" > /proc/sys/net/x25/x25_forward
> > To turn on x25_forwarding, defaults to off
>
> > --- linux-2.6.20-vanilla/include/linux/sysctl.h
> > +++ linux-2.6.20/include/linux/sysctl.h
> > @@ -699,7 +699,8 @@ enum {
> > NET_X25_CALL_REQUEST_TIMEOUT=2,
> > NET_X25_RESET_REQUEST_TIMEOUT=3,
> > NET_X25_CLEAR_REQUEST_TIMEOUT=4,
> > - NET_X25_ACK_HOLD_BACK_TIMEOUT=5
> > + NET_X25_ACK_HOLD_BACK_TIMEOUT=5,
> > + NET_X25_FORWARD=6
> > };
>
> > --- linux-2.6.20-vanilla/net/x25/sysctl_net_x25.c
> > +++ linux-2.6.20/net/x25/sysctl_net_x25.c
> > @@ -73,6 +73,14 @@ static struct ctl_table x25_table[] = {
> > .extra1 = &min_timer,
> > .extra2 = &max_timer,
> > },
> > + {
> > + .ctl_name = NET_X25_FORWARD,
> > + .procname = "x25_forward",
> > + .data = &sysctl_x25_forward,
> > + .maxlen = sizeof(int),
> > + .mode = 0644,
> > + .proc_handler = &proc_dointvec,
> > + },
>
> Reserving binary sysctl number and not defining ->strategy is strange.
Ouch, please, ignore. I misparsed sysctl code.
next prev parent reply other threads:[~2007-02-08 20:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-07 23:14 [PATCH 2/3] X.25: Adds /proc/sys/net/x25/x25_forward to control forwarding ahendry
2007-02-08 20:19 ` Alexey Dobriyan
2007-02-08 20:22 ` Alexey Dobriyan [this message]
2007-02-08 21:34 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070208202211.GB5532@martell.zuzino.mipt.ru \
--to=adobriyan@gmail.com \
--cc=ahendry@tusc.com.au \
--cc=eis@baty.hanse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-x25@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.