summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorAmir Vadai <amirv@mellanox.com>2013-01-24 05:54:18 +0400
committerDavid S. Miller <davem@davemloft.net>2013-01-28 09:14:24 +0400
commit7225922558f04f25a22683ce08454dae8dd4b9f4 (patch)
tree2a3871ca8287e5f197c39d170375df8fe3c93b03 /drivers/sh
parentf356fcbe12c1174713e83651b630330f8f0f8415 (diff)
downloadlinux-7225922558f04f25a22683ce08454dae8dd4b9f4.tar.xz
net/mlx4_en: Fix a race when closing TX queue
There is a possible race where the TX completion handler can clean the entire TX queue between the decision that the queue is full and actually closing it. To avoid this situation, check again if the queue is really full, if not, reopen the transmit and continue with sending the packet. CC: Eric Dumazet <edumazet@google.com> Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.com> Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions