[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 30 Jan 2007 10:08:18 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Stephen Hemminger <shemminger@...ux-foundation.org>
Cc: Jiri Benc <jbenc@...e.cz>, netdev@...r.kernel.org,
"John W. Linville" <linville@...driver.com>,
Stephen Hemminger <shemminger@...l.org>,
David Miller <davem@...emloft.net>
Subject: Re: [RFC PATCH 1/6] invisible network devices
On Mon, Jan 29, 2007 at 10:28:14AM -0800, Stephen Hemminger wrote:
> Maybe code would be cleaner if you just could do:
> register_netdevice(mydev);
>
> cloak_netdevice(mydev);
>
>
> And cloak_netdevice() just removed the network device from the
> name table. I would rather keep it with a real ifindex and in the
> device list, so that if the interface is miss used or the device
> is referenced by other devices, we don't see unexpected surprises
> like oops.
I don't think first publishing it and then hiding it is a good idea,
but I agreed that it should at least have a valid ifindex.
-
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