diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2016-04-26 17:40:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-26 20:23:57 +0300 |
commit | fbe8077687330a55e87bc26745d4992991c101ec (patch) | |
tree | c01c9b317a8c060e5bde68e0f66c399a2b922af5 /tools/perf/scripts/python/check-perf-trace.py | |
parent | ed98c85ee9a16373f73afeb5bcd7b37b65c2a62f (diff) | |
download | linux-fbe8077687330a55e87bc26745d4992991c101ec.tar.xz |
cxgb4: Avoids race and deadlock while freeing tx descriptor
There could be race between t4_eth_xmit() and t4_free_sge_resources() while
freeing tx descriptors, take txq lock in t4_free_sge_resources(). We need
to stop the xmit frame path which runs in bottom half context while
unloading the driver using _bh variant of the lock. This is to prevent
the deadlock between xmit and driver unload.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions