[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1358142016.8744.1750.camel@edumazet-glaptop>
Date: Sun, 13 Jan 2013 21:40:16 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Benjamin LaHaise <bcrl@...ck.org>
Cc: Jamal Hadi Salim <jhs@...atatu.com>,
David Miller <davem@...emloft.net>, socketcan@...tkopp.net,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] pkt_sched: namespace aware ifb
On Sun, 2013-01-13 at 08:57 -0800, Eric Dumazet wrote:
> On Sun, 2013-01-13 at 11:41 -0500, Benjamin LaHaise wrote:
> > pkt_sched: namespace aware ifb v2
> >
> > Eric Dumazet pointed out that act_mirred needs to find the current net_ns,
> > and struct net pointer is not provided in the call chain. His original
> > patch made use of current->nsproxy->net_ns to find the network namespace,
> > but this fails to work correctly for userspace code that makes use of
> > netlink sockets in different network namespaces. Instead, pass the
> > "struct net *" down along the call chain to where it is needed.
> >
> > Signed-off-by: Benjamin LaHaise <bcrl@...ck.org>
> > ---
>
> OK I'll test it at the end of the (sunny) day.
>
Could you resend the patch without the ifb part, I tested it
and it worked well for me, thanks !
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists