diff options
author | 2017-02-17 15:50:43 +0000 | |
---|---|---|
committer | 2017-02-17 15:29:40 -0500 | |
commit | 9c568fd8844ec3986eb19b0b5d97536243d10d46 (patch) | |
tree | c5080f2edd3d4c029e5e38ede183e135ef81787a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | sfc: forget filters from sw table if hw replies ENOENT on removing them (diff) | |
download | linux-dev-9c568fd8844ec3986eb19b0b5d97536243d10d46.tar.xz linux-dev-9c568fd8844ec3986eb19b0b5d97536243d10d46.zip |
sfc: do not device_attach if a reset is pending
efx_start_all can return without initialising queues as a reset is pending.
This means that when netif_device_attach is called, the kernel can start
sending traffic without having an initialised TX queue to send to.
This patch avoids this by not calling netif_device_attach if there is a
pending reset.
Fixes: e283546c0465 ("sfc:On MCDI timeout, issue an FLR (and mark MCDI to fail-fast)")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions