netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Daniel Mack <daniel@zonque.org>
Cc: Florian Westphal <fw@strlen.de>,
	Daniel Borkmann <dborkman@redhat.com>,
	Alexey Perevalov <a.perevalov@samsung.com>,
	Pablo Neira Ayuso <pablo@netfilter.org>,
	netdev <netdev@vger.kernel.org>
Subject: Re: cgroup matches in INPUT chain
Date: Fri, 20 Mar 2015 17:11:11 +0100	[thread overview]
Message-ID: <20150320161111.GA11498@breakpoint.cc> (raw)
In-Reply-To: <550C2753.9020608@zonque.org>

Daniel Mack <daniel@zonque.org> wrote:
> On 03/19/2015 07:58 PM, Florian Westphal wrote:
> > Daniel Mack <daniel@zonque.org> wrote:
> >> In my tests, however, NF_INET_LOCAL_IN is iterated before early_demux()
> >> is called,
> > 
> > Early demux occurs after PRE_ROUTING but before LOCAL_IN.
> 
> Hmm, you're right, except it isn't in my case. I'm not familiar with
> that code, so please bear with me :)
> 
> In my simple test setup, when skbs are dequeued by process_backlog(),
> they have skb->_skb_refdst set, and hence ip_rcv_finish() does not call
> into early_demux() prior to iterating the INPUT chain:

Yes, because we already have a route set.

Are we talking about loopback?
What are you trying to do?

  reply	other threads:[~2015-03-20 16:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 18:41 cgroup matches in INPUT chain Daniel Mack
2015-03-19 18:58 ` Florian Westphal
2015-03-20 13:57   ` Daniel Mack
2015-03-20 16:11     ` Florian Westphal [this message]
2015-03-20 16:21       ` Daniel Mack
2015-03-20 20:18         ` Daniel Borkmann
2015-03-20 20:55         ` Cong Wang
2015-03-20 22:07           ` Daniel Mack

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=20150320161111.GA11498@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=a.perevalov@samsung.com \
    --cc=daniel@zonque.org \
    --cc=dborkman@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pablo@netfilter.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).