aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/jazzsonic.c
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-11-10 09:11:08 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-11 22:03:35 -0500
commit836cf7faf8c75743477ed6ed341cce491f3183fb (patch)
treee4a8dff4c36bd53080af4dbe1014b91381b79850 /drivers/net/jazzsonic.c
parent499428ed28d800eb5cf25889bb1e026637d99dfc (diff)
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 <avorontsov@ru.mvista.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/jazzsonic.c')
0 files changed, 0 insertions, 0 deletions