From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 0CDA31A5B9 for ; Thu, 26 Oct 2023 13:21:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="rAsukQ93" Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47A6EAB for ; Thu, 26 Oct 2023 06:21:28 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-53fc7c67a41so4293073a12.0 for ; Thu, 26 Oct 2023 06:21:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1698326487; x=1698931287; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=7xcSEt7nTMuwkE+QgbNFoQD0oV4mmJrUn9Xh1xHLwJk=; b=rAsukQ93QbMtcBKlHbzgsYWiQWjEfJILeVHsC7qWnq/v7LLGugdq4uvmboZQLVyez1 +niI9zPoRYlod2J+ldwI4ineZkoKf2f4m5xr0Z5Izm7afChDkLf3NHKoLlq2R2iuFXPm arGLNHiO9hkw2xcwlY3DEt9942gyeJyD1d++JjWCFnQtoy5gGmDMUEsf+bhl42HZSEQk ru4S4UfAiLX+Bp0puhNEF0y3o+QaroFt6jxBv3FUMb/r8iz/orBcM2VU9ghL/1ieE9yI gvbkJd2nP1dp0E0RM6wR1znaeIiUatuDL3pHFnQjtm1+IRU8MGgvYB7Phqtbdf+n3Av5 aVPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698326487; x=1698931287; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7xcSEt7nTMuwkE+QgbNFoQD0oV4mmJrUn9Xh1xHLwJk=; b=GsuruTKvqjqq6D7ASLzr4fGkcv9Ze3rYv4Vu0pyAR3bp7P3ep+ymt0sZFpl3B1F4v/ Jn/dAOIzCUvl9LM62vNkMvIMFof1/lv/7w/J8DXdbnCsipSkD0lhLKBBBr6tKHX49tuK M+db14iRAHG8Kp8Mi9sUaHy+2DKH24IP+733NL9kulT+Qf0vqUsqG5TjxtRik3n1eTJF kUMIfFOkIdaD5zpjltiuNUe2uZ+KxBRqwKBDIrUtlCyxHTLrUCQlCKGUCvPlqQ9rlShS gueE8Ze081nSI1L6HgPW5eFawyHjO2eJL1NP5NRF21+QumFt/cQBZRN2dhPO2dFFKxT9 /bfQ== X-Gm-Message-State: AOJu0Yzk0bxwmHNAQAijMMEMYLRCj4FAc90aypQc9W7cDwtam5wTBXq8 QJZdLFkhVH/OHkHExqmiXnLgMQ== X-Google-Smtp-Source: AGHT+IFYCy8h45EdUY8kJ9ndNVZ61NzkfOh6KhL3Mf9bJkxJaMSGtXL1ndYrNeEmJxrS4GklNkEWew== X-Received: by 2002:a17:907:3f08:b0:9bd:a5a9:34de with SMTP id hq8-20020a1709073f0800b009bda5a934demr3012154ejc.23.1698326486637; Thu, 26 Oct 2023 06:21:26 -0700 (PDT) Received: from localhost (mail.hotelolsanka.cz. [194.213.219.10]) by smtp.gmail.com with ESMTPSA id lv12-20020a170906bc8c00b009c657110cf2sm11675418ejb.99.2023.10.26.06.21.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 06:21:25 -0700 (PDT) Date: Thu, 26 Oct 2023 15:21:25 +0200 From: Jiri Pirko To: Nikolay Aleksandrov Cc: bpf@vger.kernel.org, netdev@vger.kernel.org, martin.lau@linux.dev, ast@kernel.org, andrii@kernel.org, john.fastabend@gmail.com, kuba@kernel.org, andrew@lunn.ch, toke@kernel.org, toke@redhat.com, sdf@google.com, daniel@iogearbox.net Subject: Re: [PATCH bpf-next 1/2] netkit: remove explicit active/peer ptr initialization Message-ID: References: <20231026094106.1505892-1-razor@blackwall.org> <20231026094106.1505892-2-razor@blackwall.org> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231026094106.1505892-2-razor@blackwall.org> Thu, Oct 26, 2023 at 11:41:05AM CEST, razor@blackwall.org wrote: >Remove the explicit NULLing of active/peer pointers and rely on the >implicit one done at net device allocation. > >Suggested-by: Jiri Pirko >Signed-off-by: Nikolay Aleksandrov Reviewed-by: Jiri Pirko