public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: Randolf Pohl <randolf.pohl@gmx.de>
Cc: Sven Joachim <svenjoac@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 09:51:54 -0500	[thread overview]
Message-ID: <1265381514.5661.1.camel@bigi> (raw)
In-Reply-To: <20100205143441.280460@gmx.net>

On Fri, 2010-02-05 at 15:34 +0100, Randolf Pohl wrote:
> [...]
> 
> > --- a/include/linux/sysctl.h
> > +++ b/include/linux/sysctl.h
> > @@ -490,6 +490,7 @@ enum
> >  	NET_IPV4_CONF_PROMOTE_SECONDARIES=20,
> >  	NET_IPV4_CONF_ARP_ACCEPT=21,
> >  	NET_IPV4_CONF_ARP_NOTIFY=22,
> > +	NET_IPV4_CONF_SRC_VMARK=24,
> >  	__NET_IPV4_CONF_MAX
> >  };
> > 
> 
> Must these be contiguous, i.e. 23?

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" },
        {}
 };
---

cheers,
jamal



  reply	other threads:[~2010-02-05 14:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-05 14:34 [46/74] net: restore ip source validation Randolf Pohl
2010-02-05 14:51 ` jamal [this message]
2010-02-05 16:04   ` Sven Joachim
2010-02-05 20:17     ` Eric W. Biederman
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=1265381514.5661.1.camel@bigi \
    --to=hadi@cyberus.ca \
    --cc=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=davem@davemloft.net \
    --cc=gregkh@suse.de \
    --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