Re: [PATCH net-next] tipc: don't call sock_release() in atomic context

2018-02-19 Thread David Miller
From: Paolo Abeni Date: Mon, 19 Feb 2018 19:02:24 +0100 > syzbot reported a scheduling while atomic issue at netns > destruction time: ... > This is caused by tipc_topsrv_stop() releasing the listener socket > with the idr lock held. This changeset addresses the issue moving > the release operat

RE: [PATCH net-next] tipc: don't call sock_release() in atomic context

2018-02-19 Thread Jon Maloy
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] On Behalf Of Paolo Abeni > Sent: Monday, February 19, 2018 19:02 > To: netdev@vger.kernel.org > Cc: Jon Maloy ; Ying Xue > ; David S. Miller > Subject: [PATCH ne

[PATCH net-next] tipc: don't call sock_release() in atomic context

2018-02-19 Thread Paolo Abeni
syzbot reported a scheduling while atomic issue at netns destruction time: BUG: sleeping function called from invalid context at net/core/sock.c:2769 in_atomic(): 1, irqs_disabled(): 0, pid: 85, name: kworker/u4:3 5 locks held by kworker/u4:3/85: #0: ((wq_completion)"%s""netns"){+.+.}, at: [<00