[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090109.231331.168136341.davem@davemloft.net>
Date: Fri, 09 Jan 2009 23:13:31 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: aabdulla@...dia.com
Cc: manfred@...orfullife.com, jgarzik@...ox.com, akpm@...l.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 2/4] forcedeth: xmit lock fix
From: Ayaz Abdulla <aabdulla@...dia.com>
Date: Fri, 09 Jan 2009 16:03:44 -0500
> 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>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists