Searched hist:"1 d311ad2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunvnet.c | 1d311ad2 Wed Aug 13 09:29:41 CDT 2014 Sowmini Varadhan <sowmini.varadhan@oracle.com> 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> 1d311ad2 Wed Aug 13 09:29:41 CDT 2014 Sowmini Varadhan <sowmini.varadhan@oracle.com> 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>
|