diff options
author | Maya Erez <[email protected]> | 2016-01-17 12:39:08 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2016-01-26 16:47:38 +0200 |
commit | 640751ac30b2ddfbe06ad712aa7d57a8d89a7eef (patch) | |
tree | 7948931c373c12b5d8ee3d689433504c0732658f /tools/perf/scripts/python/netdev-times.py | |
parent | c100c883e785802ab333604237928a65ae62c6bc (diff) |
wil6210: handle tx completions only if vring tx data is enabled
wil_vring_fini_tx is called in disconnect in order to free the
allocated vrings.
wil_vring_fini_tx is disabling the vring_tx_data before napi_synchronize
is called in order to avoid the tx handling of this vring, while
wil_vring_free is called only after napi finished the current handling
of the tx completed packets.
Due to that, in case of disconnect, wil6210_netdev_poll_tx can be called
when vring->va is not NULL but vring_tx_data[i]->enabled is already
disabled.
This patch checks vring_tx_data[i]->enabled in wil6210_netdev_poll_tx
to prevent handling of disabled vrings.
Signed-off-by: Maya Erez <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions