From: Ben Greear <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to