lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 30 Jul 2013 09:59:20 +0000
From:	Duan Fugang-B38611 <>
To:	Uwe Kleine-König 
	"" <>
CC:	"David S. Miller" <>,
	Estevam Fabio-R49496 <>,
	Li Frank-B20596 <>,
	Shawn Guo <>,
	"" <>,
	Hector Palacios <>,
	Tim Sander <>,
	Steven Rostedt <>,
	Thomas Gleixner <>,
	Stephen Hemminger <>,
	Florian Fainelli <>,
	Ben Hutchings <>
Subject: RE: [PATCH] net/fec: Don't let ndo_start_xmit return NETDEV_TX_BUSY
 without link

On Tue, Jul 30, 2013 at 05:30 PM, Uwe Kleine-König <> wrote:

>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 <>

Acked-and-tested-by: Fugang Duan  <>

Powered by blists - more mailing lists