From: Uwe Kleine-König Date: Tue, 30 Jul 2013 09:29:40 +0000 (+0200) Subject: net/fec: Don't let ndo_start_xmit return NETDEV_TX_BUSY without link X-Git-Tag: v3.11-rc4~22^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a264b981f2c76e281ef27e7232774bf6c54ec865;p=pandora-kernel.git net/fec: Don't let ndo_start_xmit return NETDEV_TX_BUSY without link Don't test for having link and let hardware deal with this situation. Without this patch I see a machine running an -rt patched Linux being stuck in sch_direct_xmit when it looses link while there is still a packet to be sent. In this case the fec_enet_start_xmit routine returned NETDEV_TX_BUSY which makes the network stack reschedule the packet and so sch_direct_xmit calls fec_enet_start_xmit again. I failed to reproduce a complete hang without -rt, but I think the problem exists there, too. Signed-off-by: Uwe Kleine-König Signed-off-by: David S. Miller --- Reading git-diff-tree failed