lists.openwall.net   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  linux-hardening  linux-cve-announce  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]
Message-ID: <9848F2DB572E5649BA045B288BE08FBE015E3A69@039-SN2MPN1-023.039d.mgd.msft.net>
Date:	Thu, 1 Aug 2013 02:01:05 +0000
From:	Duan Fugang-B38611 <B38611@...escale.com>
To:	David Miller <davem@...emloft.net>,
	"u.kleine-koenig@...gutronix.de" <u.kleine-koenig@...gutronix.de>
CC:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	Estevam Fabio-R49496 <r49496@...escale.com>,
	Li Frank-B20596 <B20596@...escale.com>,
	"shawn.guo@...aro.org" <shawn.guo@...aro.org>,
	"kernel@...gutronix.de" <kernel@...gutronix.de>,
	"hector.palacios@...i.com" <hector.palacios@...i.com>,
	"tim.sander@....com" <tim.sander@....com>,
	"rostedt@...dmis.org" <rostedt@...dmis.org>,
	"tglx@...utronix.de" <tglx@...utronix.de>,
	"stephen@...workplumber.org" <stephen@...workplumber.org>,
	"florian@...nwrt.org" <florian@...nwrt.org>,
	"bhutchings@...arflare.com" <bhutchings@...arflare.com>
Subject: RE: [PATCH] net/fec: Don't let ndo_start_xmit return NETDEV_TX_BUSY
 without link

On Thu, Aug 01, 2013 at 02:51 AM, David Miller wrote:

>> On Tue, Jul 30, 2013 at 04:05:30PM -0700, David Miller wrote:
>>> From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
>>> Date: Tue, 30 Jul 2013 11:29:40 +0200
>>> 
>>> > 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 <u.kleine-koenig@...gutronix.de>
>>> 
>>> Applied, thanks.
>> Thanks, I see it as a264b981f2c76e281ef27e7232774bf6c54ec865 in 
>> net.git (i.e.
>> https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=
>> a264b981f2c76e281ef27e7232774bf6c54ec865)
>> 
>> You missed to take the
>> 
>> 	Acked-and-tested-by: Fugang Duan <B38611@...escale.com>
>
> This is not an official tag recognized by patchwork, he should say:
>
> Acked-by: Fugang Duan <B38611@...escale.com>
> Tested-by: Fugang Duan <B38611@...escale.com>

I see Linux kernel trees have many non-official tag such as: Acked-and-tested-by.
Anyway, we must follow the official rules. Thanks, David.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ