Return-path: Received: from s3.sipsolutions.net ([5.9.151.49]:45597 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbbC3Ihr (ORCPT ); Mon, 30 Mar 2015 04:37:47 -0400 Message-ID: <1427704662.26117.8.camel@sipsolutions.net> (sfid-20150330_103750_533734_68886845) Subject: Re: [PATCH] net: nl80211 - pass name_assign_type to rdev_add_virtual_intf() From: Johannes Berg To: Tom Gundersen Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dhherrmann@gmail.com, Kalle Valo , Brett Rudley , Arend van Spriel , "Franky (Zhenhui) Lin" , Hante Meuleman Date: Mon, 30 Mar 2015 10:37:42 +0200 In-Reply-To: <1426673619-2816-1-git-send-email-teg@jklm.no> (sfid-20150318_111356_326014_91F5B84B) References: <1426673619-2816-1-git-send-email-teg@jklm.no> (sfid-20150318_111356_326014_91F5B84B) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2015-03-18 at 11:13 +0100, Tom Gundersen wrote: > This will expose in /sys whether the ifname of a device is set by userspace > or generated by the kernel. The latter kind (wlanX, etc) is not deterministic, > so userspace needs to rename these devices to names that are guaranteed to > stay the same between reboots. The former, however should never be renamed, > so userspace needs to be able to reliably tell the difference. > > Similar functionality was introduced for the rtnetlink core in commit 5517750. Applied - I rewrapped the commit log to fit 72 cols and expanded the commit ID to 12 hex chars and added the subject. johannes