Subject: Re: cgroup matches in INPUT chain

From: Florian Westphal <[email-masked]>
Date: Fri, 20 Mar 2015 17:11:11 +0100

Daniel Mack <[email-masked]> wrote:
> On 03/19/2015 07:58 PM, Florian Westphal wrote:
> > Daniel Mack <[email-masked]> 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?