summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/Kconfig
diff options
context:
space:
mode:
authorEdward Cree2014-09-16 18:05:21 +0200
committerDavid S. Miller2014-09-16 22:33:34 +0200
commitf650fb456f2079b762c131a11397c0a966e2bfe4 (patch)
tree3e998d35f9b42155c24f268ad9aeb69ccf6854a2 /drivers/scsi/qla2xxx/Kconfig
parentr8169: adjust __rtl8169_set_features (diff)
downloadkernel-qcow2-linux-f650fb456f2079b762c131a11397c0a966e2bfe4.tar.gz
kernel-qcow2-linux-f650fb456f2079b762c131a11397c0a966e2bfe4.tar.xz
kernel-qcow2-linux-f650fb456f2079b762c131a11397c0a966e2bfe4.zip
sfc: fix addr_list_lock spinlock use before init
Reported by Nikolay Aleksandrov. In efx_init_port() we call efx_mac_reconfigure() to work around a Falcon/A1 limitation, and this calls efx_{arch}_filter_sync_rx_mode(), which takes the addr_list_lock; but this lock is uninitialised, because we haven't called register_netdevice() yet. So, in efx_farch_filter_sync_rx_mode(), check efx_dev_registered() before doing anything else. The EF10 equivalent, efx_ef10_filter_sync_rx_mode(), already has the corresponding check. Signed-off-by: Edward Cree <ecree@solarflare.com> Tested-by: Nikolay Aleksandrov <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/qla2xxx/Kconfig')
0 files changed, 0 insertions, 0 deletions