mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
alx: take rtnl before calling __alx_open from resume
The __alx_open function can be called from ndo_open, which is called under RTNL, or from alx_resume, which isn't. Since commitd768319cd4, we're calling the netif_set_real_num_{tx,rx}_queues functions, which need to be called under RTNL. This is similar to commit0c2cc02e57("igb: Move the calls to set the Tx and Rx queues into igb_open"). Fixes:d768319cd4("alx: enable multiple tx queues") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cafb39600e
commit
bc800e8b39
1 changed files with 7 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue