From: Anton Vorontsov Date: Tue, 10 Nov 2009 14:11:08 +0000 (+0000) Subject: gianfar: Fix race between gfar_error() and gfar_start_xmit() X-Git-Tag: v2.6.33-rc1~388^2~409 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=836cf7faf8c75743477ed6ed341cce491f3183fb;p=pandora-kernel.git gianfar: Fix race between gfar_error() and gfar_start_xmit() gfar_error() can arrive at the middle of gfar_start_xmit() processing, and so it can trigger transfers of BDs that we don't yet expect to be transmitted. Fix this by locking the tx queues in gfar_error(). Signed-off-by: Anton Vorontsov Acked-by: Kumar Gala Signed-off-by: David S. Miller --- Reading git-diff-tree failed