Re: [PATCH v2 net] packet: Do not call fanout_release from atomic contexts

2017-02-15 Thread Eric Dumazet
On Wed, 2017-02-15 at 16:43 +, Anoob Soman wrote: > > net/packet/af_packet.c | 29 ++--- > 1 file changed, 22 insertions(+), 7 deletions(-) > > diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c > index d56ee46..af29510 100644 > ---

Re: [PATCH v2 net] packet: Do not call fanout_release from atomic contexts

2017-02-15 Thread kbuild test robot
Hi Anoob, [auto build test WARNING on net-next/master] [also build test WARNING on v4.10-rc8] [cannot apply to net/master next-20170215] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v2 net] packet: Do not call fanout_release from atomic contexts

2017-02-15 Thread Anoob Soman
Commit 6664498280cf ("packet: call fanout_release, while UNREGISTERING a netdev"), unfortunately, introduced the following issues. 1. calling mutex_lock(_mutex) (fanout_release()) from inside rcu_read-side critical section. rcu_read_lock disables preemption, most often, which prohibits calling