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]
Date:	Tue, 16 Oct 2007 15:16:16 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	shemminger@...ux-foundation.org
Cc:	benh@...nel.crashing.org, netdev@...r.kernel.org
Subject: Re: netif_napi_add vs. multiple netdev's

From: Stephen Hemminger <shemminger@...ux-foundation.org>
Date: Tue, 16 Oct 2007 09:10:35 -0700

> On Tue, 16 Oct 2007 15:47:13 +1000
> Benjamin Herrenschmidt <benh@...nel.crashing.org> wrote:
> 
> > The way it's currently implemented, there's a list of NAPI's attached to
> > the netdev, so obviously, that won't work for my usage scenario.
> 
> sky2 driver has potentially 2 ports for 1 NAPI instance.

And it's unfortunately buggy.

For example, the sky2_suspend() code iterates over the ports
and calls sky2_down() on each one that is up.

That will call napi_disable() on the same NAPI instance if
multiple ports are up, and thus hang the machine.

This is why, Stephen, for the second time, I'm telling you
that perhaps you should put the NAPI instance into the
sky2_port struct.
-
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