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  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:	Sat, 21 Jul 2007 20:54:25 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	rusty@...tcorp.com.au
Cc:	netdev@...r.kernel.org, shemminger@...ux-foundation.org,
	jgarzik@...ox.com
Subject: Re: [PATCH]: Resurrect napi_poll patch.

From: Rusty Russell <rusty@...tcorp.com.au>
Date: Sun, 22 Jul 2007 12:39:32 +1000

> But if netdev -> driver_private can be optimized, so can driver_private
> -> netdev.  We just don't have a wrapper for it.  netdev_of() perhaps?
> 
> (If it can't be implemented by ptr arith, we have to do some allocation
> tricks to hide the dev ptr before driver_private, but it's still
> implementable).
> 
> Perhaps we should do this anyway: it's another "every driver wants it"
> kind of deal AFAICT...

Color me convinced :-)

Ok, I'll put the napi_struct info the driver private and respin
the patch.
-
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