[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AD35705.2000802@kadzban.is-a-geek.net>
Date: Mon, 12 Oct 2009 09:19:17 -0700
From: Bryan Kadzban <bryan@...zban.is-a-geek.net>
To: Greg KH <greg@...ah.com>
CC: Matt Domsch <Matt_Domsch@...l.com>,
Stephen Hemminger <shemminger@...tta.com>,
netdev@...r.kernel.org, linux-hotplug@...r.kernel.org,
Narendra_K@...l.com, jordan_hargrave@...l.com
Subject: Re: PATCH: Network Device Naming mechanism and policy
Bryan Kadzban wrote:
> (Now, if open() would return effectively a netlink socket bound to
> that ifindex already, such that the program didn't need to fill in
> the various ifindex fields for e.g. rtnetlink... but it's probably
> really hard to do that, so this isn't a serious suggestion.)
Wait, scratch that. It's not "really hard", it's "almost impossible".
At open() time, you have no idea which netlink family the program wants
to communicate with. bind() is also hard. (In theory, you could
support bind() on this new FD -- but then why is userspace using a file
in the first place, and not a socket?)
So this is even less of a serious suggestion now.
I'd still like to be able to refer to NICs by multiple names though, if
we can find a way that works...
Download attachment "signature.asc" of type "application/pgp-signature" (261 bytes)
Powered by blists - more mailing lists