From: Patrick McHardy <kaber@trash.net>
To: David Miller <davem@davemloft.net>
Cc: fw@strlen.de, netfilter-devel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] netfilter: af_info: add 'strict' parameter to limit lookup to .oif
Date: Mon, 04 Apr 2011 17:01:27 +0200 [thread overview]
Message-ID: <4D99DD47.9050106@trash.net> (raw)
In-Reply-To: <20110324.161516.42815453.davem@davemloft.net>
On 25.03.2011 00:15, David Miller wrote:
>> > ipv6 fib lookup can set RT6_LOOKUP_F_IFACE flag to restrict search
>> > to an interface, but this flag cannot be set via struct flowi.
>> >
>> > Also, it cannot be set via ip6_route_output: this function uses the
>> > passed sock struct to determine if this flag is required
>> > (by testing for nonzero sk_bound_dev_if).
>> >
>> > Work around this by passing in an artificial struct sk in case
>> > 'strict' argument is true.
>> >
>> > This is required to replace the rt6_lookup call in xt_addrtype.c with
>> > nf_afinfo->route().
>> >
>> > Signed-off-by: Florian Westphal <fw@strlen.de>
> Acked-by: David S. Miller <davem@davemloft.net>
Applied, thanks.
next prev parent reply other threads:[~2011-04-04 15:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 20:29 [PATCH v2 1/3] netfilter: af_info: add network namespace parameter to route hook Florian Westphal
2011-03-24 20:29 ` [PATCH v2 2/3] netfilter: af_info: add 'strict' parameter to limit lookup to .oif Florian Westphal
2011-03-24 23:15 ` David Miller
2011-04-04 15:01 ` Patrick McHardy [this message]
2011-03-24 20:29 ` [PATCH v2 3/3] netfilter: xt_addrtype: replace rt6_lookup with nf_afinfo->route Florian Westphal
2011-03-24 23:15 ` David Miller
2011-04-04 15:02 ` Patrick McHardy
2011-03-24 23:15 ` [PATCH v2 1/3] netfilter: af_info: add network namespace parameter to route hook David Miller
2011-04-04 14:57 ` Patrick McHardy
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=4D99DD47.9050106@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=fw@strlen.de \
--cc=netfilter-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).