ieee1394: eth1394: handle tlabel exhaustion
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 5 May 2007 15:25:51 +0000 (17:25 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 27 May 2007 21:20:59 +0000 (23:20 +0200)
commit7a97bc03e089d1a75dc533f0fe69ec8dac672916
treebfa5de17774786f4b0ef976fd645b2adc74bd4b7
parent69c29fa7d142d65b13e366ae51e50944484b65ab
ieee1394: eth1394: handle tlabel exhaustion

When eth1394 was unable to acquire a transaction label, it just dropped
outgoing packets without attempt to resend them later.

The transmit queue is now halted if no tlabel is available to
->hard_start_xmit().  A workqueue job is then scheduled to catch the
moment when ieee1394 recycled the next lot of tlabels.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=8402

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/eth1394.c
drivers/ieee1394/eth1394.h