[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4967BBB0.90809@nvidia.com>
Date: Fri, 09 Jan 2009 16:03:44 -0500
From: Ayaz Abdulla <aabdulla@...dia.com>
To: Manfred Spraul <manfred@...orfullife.com>,
Jeff Garzik <jgarzik@...ox.com>, Andrew Morton <akpm@...l.org>,
nedev <netdev@...r.kernel.org>
Subject: [PATCH 2/4] forcedeth: xmit lock fix
This patch fixes a potential race condition between xmit thread and xmit
completion thread. The calculation of empty tx descriptors is not
performed under the lock. This could cause it to set the stop flag while
the completion thread finishes all tx's. This will result in the tx
queue in stopped state and no one to wake it up.
Signed-off-by: Ayaz Abdulla <aabdulla@...dia.com>
View attachment "patch-forcedeth-xmitlockfix" of type "text/plain" (1124 bytes)
Powered by blists - more mailing lists