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: <20070517.214935.27951232.davem@davemloft.net>
Date:	Thu, 17 May 2007 21:49:35 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	greearb@...delatech.com
Cc:	shemminger@...ux-foundation.org, jgarzik@...ox.com,
	netdev@...r.kernel.org
Subject: Re: [RFC] netdevice ops

From: Ben Greear <greearb@...delatech.com>
Date: Thu, 17 May 2007 21:23:16 -0700

> Vlan code uses several of the methods, so I'm not sure how it will save 
> any memory

Feeling particularly dense today?

Only one copy of the ops will be needed for all vlan devices:

static const struct netdev_ops vlan_netdev_ops = {
	...
};

Then VLAN device creation goes, "vlan_netdev->ops = &vlan_netdev_ops;"

Clearer now?
-
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