From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751651Ab1LJO3j (ORCPT ); Sat, 10 Dec 2011 09:29:39 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:64018 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751346Ab1LJO3g (ORCPT ); Sat, 10 Dec 2011 09:29:36 -0500 Date: Sat, 10 Dec 2011 22:29:24 +0800 From: Ted Feng To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "David S. Miller" Subject: Re: [PATCH] ipip, sit: copy parms.name after register_netdevice Message-ID: <20111210142920.GA3988@gmail.com> Mail-Followup-To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" References: <20111206173220.GA28763@kroah.com> <20111207.235602.1465915988125994516.davem@davemloft.net> <20111208104619.GA20150@ted-OptiPlex-380> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111208104619.GA20150@ted-OptiPlex-380> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 08, 2011 at 06:46:21PM +0800, Ted Feng wrote: > From: Ted Feng > > Same fix as 731abb9cb2 for ipip and sit tunnel. > Commit 1c5cae815d removed an explicit call to dev_alloc_name in > ipip_tunnel_locate and ipip6_tunnel_locate, because register_netdevice > will now create a valid name, however the tunnel keeps a copy of the > name in the private parms structure. Fix this by copying the name back > after register_netdevice has successfully returned. > Just a reminder. The previous resubmited patch got no response.