sunvnet: Schedule maybe_tx_wakeup() as a tasklet from ldc_rx path
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Wed, 13 Aug 2014 14:29:41 +0000 (10:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 03:04:46 +0000 (20:04 -0700)
commit1d311ad2f9fe5d75cf228372174170d0f435e3ef
treee1ceb11d8f5ea8602b970baac8475735dd88eda9
parentadddc32d6fde82156c779997f928865100542e55
sunvnet: Schedule maybe_tx_wakeup() as a tasklet from ldc_rx path

At the tail of vnet_event(), if we hit the maybe_tx_wakeup()
condition, we try to take the netif_tx_lock() in the
recv-interrupt-context and can deadlock with dev_watchdog().
vnet_event() should schedule maybe_tx_wakeup() as a tasklet
to avoid this deadlock

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c
drivers/net/ethernet/sun/sunvnet.h