Re: [PATCH 4.4 14/36] IB/ipoib: Fix deadlock between rmmod and set_mode

2017-03-16 Thread Ben Hutchings
On Mon, 2017-03-13 at 16:39 +0800, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Feras Daoud > > commit 0a0007f28304cb9fc87809c86abb80ec71317f20 upstream. > > When calling set_mode from sys/fs, the call

[PATCH 4.4 14/36] IB/ipoib: Fix deadlock between rmmod and set_mode

2017-03-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud commit 0a0007f28304cb9fc87809c86abb80ec71317f20 upstream. When calling set_mode from sys/fs, the call flow locks the sys/fs lock first and then tries to lock rtnl_lock (when calling