vxge: transmit timeout deadlock
authorJon Mason <jon.mason@exar.com>
Fri, 10 Dec 2010 14:02:59 +0000 (14:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Dec 2010 00:08:23 +0000 (16:08 -0800)
commit2e41f6449c561e6e3f572e11d0f2240bd51104db
treeef85460cfe71e67cd76cc764c7f48ee88a8005ab
parentdc66daa9be40369ead5a4ee33c6bcfb44cb3c8ee
vxge: transmit timeout deadlock

Use a workqueue to handle the device reset during a transmit timeout, as
there can be a deadlock during bringup.  Also, set the netif carrier off
before the watchdog reset is started to prevent the timeout from
reoccurring while still processing the first.

Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-main.c
drivers/net/vxge/vxge-main.h