From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [RFC PATCH 5/6] ppp: define reusable device creation functions Date: Tue, 5 Apr 2016 17:30:01 -0700 Message-ID: <20160405173001.231b7502@xeon-e3> References: <522658eb90148cb670fb4f5db1429c41788aa4d8.1459807527.git.g.nault@alphalink.fr> <20160405082832.534257df@xeon-e3> <20160405211456.GC1305@alphalink.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-ppp@vger.kernel.org, Paul Mackerras , David Miller To: Guillaume Nault Return-path: In-Reply-To: <20160405211456.GC1305@alphalink.fr> Sender: linux-ppp-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, 5 Apr 2016 23:14:56 +0200 Guillaume Nault wrote: > On Tue, Apr 05, 2016 at 08:28:32AM -0700, Stephen Hemminger wrote: > > On Tue, 5 Apr 2016 02:56:29 +0200 > > Guillaume Nault wrote: > > > > > Move PPP device initialisation and registration out of > > > ppp_create_interface(). > > > This prepares code for device registration with rtnetlink. > > > > > > > Does PPP module autoload correctly based on the netlink attributes? > > > Patch #6 has MODULE_ALIAS_RTNL_LINK("ppp"). This works fine for > auto-loading ppp_generic when creating a PPP device with rtnetlink. > Is there anything else required? > That should be enough.