Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp486060lqs; Tue, 5 Mar 2024 07:39:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWtd2nwToZhbbaBDVxJ6I4fmgC+v/fRq6pYbVrJuv3z+dERgRJCiEm+NV78KZh+GCehEwHnMOga1Zi7a14oL//AibuTQlGwki1B0FzxuA== X-Google-Smtp-Source: AGHT+IFBpF4iJKFtKTSSc3zu77Tn08qHbcWvl238hwAp8kDGGWKBX2RqFQxu5h1rAnI3wLA1D1JJ X-Received: by 2002:a17:906:b792:b0:a3e:eb81:ab5b with SMTP id dt18-20020a170906b79200b00a3eeb81ab5bmr8154142ejb.54.1709653191272; Tue, 05 Mar 2024 07:39:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709653191; cv=pass; d=google.com; s=arc-20160816; b=DrNdK3Jzcjd5warrmi1vgxImpZqwL0NRm15vBNEjeMcUMcM7RvOLITTF8eDcCpHVEL x0bNOI7wJp25k5aqX9YVFWZ6jZDkkxw2ujF6E/8Ocpy18zI3mBnBG1TofmgxDDM29iSl FZS3Dl7UjohTrwveobRF2AuebKWqoUqZ6jdZMY5u+yZgNlv8tKuygHRkTrI3sXzGsxwx 6x30Ebipphy01MY1bUf7MD3Hc2yeN17OFgmg56sY5alJOk1uiSs8M0dVyWmGCz6H9zT9 GIdupV03UDc+M1g90UrZ0V9PkzysA8C8XnvKDgRKakZ6CCJrjifKhQt+io2ApeoW6/n0 Du6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=nmhxzivW365Z7Z21pAbZOCScf0693MHHJIX9OIZuxvo=; fh=88GyAPauS80E7VpBbF956jO5KMt/fOzipNT9SvfnZDI=; b=BNMtuUQQHj1UnFi6dk59FkDWdEiAEtw33VpJU1meVQrqbeyJcUhUVJVfk8LqvC7qG7 hP/IispBsEn1Ya3mfbw73fnElP8ebvh7XL4ctH0Nu8mE0f1KQRIYumwnjpgMY2yFkEF0 qhr/tNFkB/V03BI1TgTPTudzjJ0t4HpoW67A8XloMgxSNavENB5ibfaXS8RLNRgVLucV aED7R1OcYDY2OlqR1iNfKvYGSBXHnVVpivDwdlIpYFw/n+VDS5ZI3C+RoH5GlpzdvEne E5b5u6H50nptONaFGRF7zHn2R0R8vU4VWt6lgmyYSi+4k2hqe9mi8O4SkP8FvWwvUMsQ Ihiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gnumonks.org); spf=pass (google.com: domain of linux-kernel+bounces-92622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92622-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f1-20020a17090631c100b00a3f84d83b4asi5381560ejf.619.2024.03.05.07.39.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 07:39:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gnumonks.org); spf=pass (google.com: domain of linux-kernel+bounces-92622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92622-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BD2061F25E1D for ; Tue, 5 Mar 2024 15:39:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10C3F12838E; Tue, 5 Mar 2024 15:39:26 +0000 (UTC) Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [213.95.27.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4BA6127B49; Tue, 5 Mar 2024 15:39:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.27.120 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709653165; cv=none; b=B3lwTel7O3BAcP+3zsMbO7a4dEHHjaoe1wB24538B698mz2/WrXJw/5INkZ60tRJjq6qDVx8t9FpxI3+XkMWiOkSUBi/rdq9YBohgBhqwP61AgeC+wZ/cAYGV4bqbw4pK/rE3OKayD6kM9nqyF2MMRxRTaavunLGPqVmbn5DQI8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709653165; c=relaxed/simple; bh=UVNTCyFwYrdoLrekrYMqAFlJa0vOC448V5qUI+AcIl4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=vFAQkzkp9YZr+snl6XnMDpStRKhfsuavCxWtQFzFaXjB/lfe/+9nx4mU3UQTzStrgnokok50ea2TRRKOV2U19KV0rKqBLCO6ROyOR5ImMeK1xH7qhk4xQw+wbVSDDVxpGoEaa687RpOf7DhHW65SUnn8Ws/EIhI7fD4Ouq/2Cm8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org; spf=pass smtp.mailfrom=gnumonks.org; arc=none smtp.client-ip=213.95.27.120 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gnumonks.org Received: from [78.30.33.11] (port=59622 helo=gnumonks.org) by ganesha.gnumonks.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rhWsx-00E3FT-7j; Tue, 05 Mar 2024 16:39:21 +0100 Date: Tue, 5 Mar 2024 16:39:18 +0100 From: Pablo Neira Ayuso To: Breno Leitao Cc: Harald Welte , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, horms@kernel.org, dsahern@kernel.org, "open list:GTP (GPRS Tunneling Protocol)" Subject: Re: [PATCH net-next 3/3] net: gtp: Move net_device assigned in setup Message-ID: References: <20240305121524.2254533-1-leitao@debian.org> <20240305121524.2254533-3-leitao@debian.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240305121524.2254533-3-leitao@debian.org> X-Spam-Score: -1.9 (-) On Tue, Mar 05, 2024 at 04:15:23AM -0800, Breno Leitao wrote: > Assign netdev to gtp->dev at setup time, so, we can get rid of > gtp_dev_init() completely. > > Signed-off-by: Breno Leitao Acked-by: Pablo Neira Ayuso