From: Amir Vadai Date: Thu, 24 Jan 2013 01:54:18 +0000 (+0000) Subject: net/mlx4_en: Fix a race when closing TX queue X-Git-Tag: v3.9-rc1~139^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7225922558f04f25a22683ce08454dae8dd4b9f4;p=pandora-kernel.git 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 Signed-off-by: Yevgeny Petrilin Signed-off-by: Eugenia Emantayev Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed