Re: [PATCH net] alx: take rtnl before calling __alx_open from resume

2018-06-30 Thread David Miller
From: Sabrina Dubroca Date: Fri, 29 Jun 2018 17:51:26 +0200 > The __alx_open function can be called from ndo_open, which is called > under RTNL, or from alx_resume, which isn't. Since commit d768319cd427, > we're calling the netif_set_real_num_{tx,rx}_queues functions, which > need to be called u

[PATCH net] alx: take rtnl before calling __alx_open from resume

2018-06-29 Thread Sabrina Dubroca
The __alx_open function can be called from ndo_open, which is called under RTNL, or from alx_resume, which isn't. Since commit d768319cd427, we're calling the netif_set_real_num_{tx,rx}_queues functions, which need to be called under RTNL. This is similar to commit 0c2cc02e571a ("igb: Move the cal