From: Christoph Hellwig <hch@infradead.org>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Jiri Benc <jbenc@suse.cz>,
netdev@vger.kernel.org,
"John W. Linville" <linville@tuxdriver.com>,
Stephen Hemminger <shemminger@osdl.org>,
David Miller <davem@davemloft.net>
Subject: Re: [RFC PATCH 1/6] invisible network devices
Date: Tue, 30 Jan 2007 10:08:18 +0000 [thread overview]
Message-ID: <20070130100818.GC8548@infradead.org> (raw)
In-Reply-To: <20070129102814.6385ad2d@freekitty>
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.
prev parent reply other threads:[~2007-01-30 10:08 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-29 17:48 [RFC PATCH 1/6] invisible network devices Jiri Benc
2007-01-29 17:48 ` [PATCH 2/6] d80211: use invisible network device for wmaster Jiri Benc
2007-01-29 17:48 ` [PATCH 3/6] d80211: drop packets from nonexisting interfaces in PS mode Jiri Benc
2007-01-29 17:48 ` [PATCH 4/6] d80211: don't display name of invisible network device Jiri Benc
2007-01-30 13:47 ` Johannes Berg
2007-01-30 14:00 ` Jan Kiszka
2007-01-31 18:58 ` Johannes Berg
2007-02-01 15:17 ` Jiri Benc
2007-02-01 15:19 ` Johannes Berg
2007-01-29 17:48 ` [PATCH 5/6] d80211: remove useless callbacks from wmaster Jiri Benc
2007-01-29 17:48 ` [PATCH 6/6] d80211: fix rtnl locking in ieee80211_register_hw Jiri Benc
2007-01-29 17:48 ` d80211: a patch for standalone d80211 tarball Jiri Benc
2007-01-29 18:34 ` Ivo Van Doorn
2007-01-29 20:23 ` Pavel Roskin
2007-01-31 18:06 ` Jiri Benc
2007-01-29 18:28 ` [RFC PATCH 1/6] invisible network devices Stephen Hemminger
2007-01-29 22:09 ` [RFC] Alternative hidden netwirk device interface Stephen Hemminger
2007-01-30 10:09 ` Christoph Hellwig
2007-01-31 18:26 ` Jiri Benc
2007-01-31 18:40 ` Stephen Hemminger
2007-02-21 8:04 ` David Miller
2007-01-30 10:08 ` Christoph Hellwig [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070130100818.GC8548@infradead.org \
--to=hch@infradead.org \
--cc=davem@davemloft.net \
--cc=jbenc@suse.cz \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
--cc=shemminger@linux-foundation.org \
--cc=shemminger@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).