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: <AANLkTikEJi7bg5GG3Ero_Poe9F6WiKo8rW+Y1KtxhQ4B@mail.gmail.com>
Date:	Fri, 25 Mar 2011 17:26:31 +0100
From:	Alexey Orishko <alexey.orishko@...il.com>
To:	Arnd Bergmann <arnd@...db.de>
Cc:	Ben Hutchings <bhutchings@...arflare.com>,
	Steve Calfee <stevecalfee@...il.com>,
	Michal Nazarewicz <mnazarewicz@...il.com>,
	Randy Dunlap <rdunlap@...otime.net>,
	broonie@...nsource.wolfsonmicro.com,
	lkml <linux-kernel@...r.kernel.org>,
	Nicolas Pitre <nicolas.pitre@...aro.org>,
	Greg KH <greg@...ah.com>,
	David Brownell <dbrownell@...rs.sourceforge.net>,
	Alan Cox <alan@...rguk.ukuu.org.uk>, grant.likely@...retlab.ca,
	Linux USB list <linux-usb@...r.kernel.org>,
	andy.green@...aro.org, netdev@...r.kernel.org,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	roger.quadros@...ia.com,
	Jaswinder Singh <jaswinder.singh@...aro.org>,
	patches@...aro.org
Subject: Re: [RFC] usbnet: use eth%d name for known ethernet devices

On Fri, Mar 25, 2011 at 12:57 PM, Arnd Bergmann <arnd@...db.de> wrote:
>
> That would be a different way of looking at it.  FLAG_POINTTOPOINT
> describes what the device is (a USB cable connecting two hosts), and
> that flag can be used for various things, where the only thing
> we currently do is the netif naming.
>

For example, cdc_ether and cdc-ncm drivers can be used in different use cases:
a) when device terminates the IP traffic
or
b) where device is a wireless router.

In both cases ethernet frames are sent over usb cable and terminated
in device (eth header stripped), so it is point-to-point link for ethernet, but
looking from IP layer is not p2p link for case b).

Please, explain, based on your idea, do we set this flag in both cases or not?
Do you want to use the same netif name for both use cases described above?

/alexey
--
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