[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130114.151003.1602167424633098717.davem@davemloft.net>
Date: Mon, 14 Jan 2013 15:10:03 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bcrl@...ck.org
Cc: eric.dumazet@...il.com, jhs@...atatu.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] pkt_sched: namespace aware act_mirred
From: Benjamin LaHaise <bcrl@...ck.org>
Date: Mon, 14 Jan 2013 10:15:39 -0500
> 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.
>
> This version removes the ifb changes as Eric has submitted that patch
> separately, but is otherwise identical to the previous version.
>
> Signed-off-by: Benjamin LaHaise <bcrl@...ck.org>
> Tested-by: Eric Dumazet <eric.dumazet@...il.com>
> Acked-by: Jamal Hadi Salim <jhs@...atatu.com>
Applied, 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