From: ebiederm@xmission.com (Eric W. Biederman)
To: Sven Joachim <svenjoac@gmx.de>
Cc: hadi@cyberus.ca, Randolf Pohl <randolf.pohl@gmx.de>,
gregkh@suse.de, linux-kernel@vger.kernel.org, stable@kernel.org,
stable-review@kernel.org, torvalds@linux-foundation.org,
akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk,
"David S. Miller" <davem@davemloft.net>
Subject: Re: [46/74] net: restore ip source validation
Date: Fri, 05 Feb 2010 12:17:50 -0800 [thread overview]
Message-ID: <m1mxzn8mj5.fsf@fess.ebiederm.org> (raw)
In-Reply-To: <87wryr4qkk.fsf@turtle.gmx.de> (Sven Joachim's message of "Fri\, 05 Feb 2010 17\:04\:11 +0100")
Sven Joachim <svenjoac@gmx.de> writes:
> On 2010-02-05 15:51 +0100, jamal wrote:
>
>> The problem is elsewhere. Here's the fix.
>>
>> --
>> diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c
>> index b6e7aae..469193c 100644
>> --- a/kernel/sysctl_check.c
>> +++ b/kernel/sysctl_check.c
>> @@ -220,6 +220,7 @@ static const struct trans_ctl_table
>> trans_net_ipv4_conf_vars_table[] = {
>> { NET_IPV4_CONF_PROMOTE_SECONDARIES, "promote_secondaries" },
>> { NET_IPV4_CONF_ARP_ACCEPT, "arp_accept" },
>> { NET_IPV4_CONF_ARP_NOTIFY, "arp_notify" },
>> + { NET_IPV4_CONF_SRC_VMARK, "src_valid_mark" },
>> {}
>> };
>> ---
>
> Well spotted, that fixes it. Your mailer is broken however, it
> converted tabs into spaces, so I had to add the changed line manually.
Bah. That DEVINET_SYSCTL_ENTRY requires having a binary sysctl
assigned, just to use as an index.
Which of course trips over all of the fine checks in sysctl_check.c to
keep people from assigning new binary sysctls by accident.
That is the only place in the kernel where he have that problem, I wonder
how much work it will be to finish untangling.
Eric
next prev parent reply other threads:[~2010-02-05 20:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-05 14:34 Randolf Pohl
2010-02-05 14:51 ` jamal
2010-02-05 16:04 ` Sven Joachim
2010-02-05 20:17 ` Eric W. Biederman [this message]
2010-02-05 20:55 ` Sven Joachim
2010-02-05 22:21 ` Eric W. Biederman
2010-02-05 22:21 ` Eric W. Biederman
-- strict thread matches above, loose matches on Subject: below --
2010-02-04 17:18 [00/74] 2.6.32.8-stable review Greg KH
2010-02-04 17:12 ` [46/74] net: restore ip source validation Greg KH
2010-02-05 10:16 ` Sven Joachim
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=m1mxzn8mj5.fsf@fess.ebiederm.org \
--to=ebiederm@xmission.com \
--cc=akpm@linux-foundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davem@davemloft.net \
--cc=gregkh@suse.de \
--cc=hadi@cyberus.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=randolf.pohl@gmx.de \
--cc=stable-review@kernel.org \
--cc=stable@kernel.org \
--cc=svenjoac@gmx.de \
--cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome