linux_dsm_epyc7002/drivers/net/ethernet/atheros
Sabrina Dubroca bc800e8b39 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 commit d768319cd4,
we're calling the netif_set_real_num_{tx,rx}_queues functions, which
need to be called under RTNL.

This is similar to commit 0c2cc02e57 ("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>
2018-06-30 21:14:47 +09:00
..
alx alx: take rtnl before calling __alx_open from resume 2018-06-30 21:14:47 +09:00
atl1c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
atl1e treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
atlx treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00