linux_dsm_epyc7002/drivers/net/ethernet/atheros/alx
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.h net: alx: switch to pci_alloc_irq_vectors 2017-04-11 11:16:02 -04:00
ethtool.c net: alx: use new api ethtool_{get|set}_link_ksettings 2016-11-14 13:37:42 -05:00
hw.c alx: add msi-x support 2016-09-09 20:51:21 -07:00
hw.h ethernet/atheros: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
main.c alx: take rtnl before calling __alx_open from resume 2018-06-30 21:14:47 +09:00
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
reg.h Add Killer E2500 device ID in alx driver. 2016-08-29 00:23:50 -04:00