[Bridge] [PATCH net-next 1/3] net: bridge: fix ioctl locking

2021-08-05 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov Before commit ad2f99aedf8f ("net: bridge: move bridge ioctls out of .ndo_do_ioctl") the bridge ioctl calls were divided in two parts: one was deviceless called by sock_ioctl and didn't expect rtnl to be held, the other was with a device called by dev_ifsioc() and expecte

Re: [Bridge] [PATCH net-next 1/3] net: bridge: fix ioctl locking

2021-08-05 Thread Nikolay Aleksandrov via Bridge
On 05/08/2021 11:29, Nikolay Aleksandrov wrote: > From: Nikolay Aleksandrov > > Before commit ad2f99aedf8f ("net: bridge: move bridge ioctls out of > .ndo_do_ioctl") the bridge ioctl calls were divided in two parts: > one was deviceless called by sock_ioctl and didn't expect rtnl to be held, > th

Re: [Bridge] [PATCH net-next 1/3] net: bridge: fix ioctl locking

2021-08-06 Thread Hillf Danton
On Thu, 5 Aug 2021 12:29:34 +0300 Nikolay Aleksandrov wrote: > > I fixed the bridge side of things, Thanks for your fix. > but the unlock/lock suggestion was made first by Hillf. > I forgot to add: > > Suggested-by: Hillf Danton > > +CC Hillf > > Hillf, since the rtnl unlock/lock suggestion