From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (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 E6A5E47ECDC for ; Wed, 17 Jun 2026 15:36:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781710607; cv=none; b=BrZfDkfvzjjEsqpPqqMOP1E6uM1Hbcr7RykUZMAm+br1bfG2tC7UZLYi5gYWJQWx0M06a3PlvC+fGYKVRuPbjczTLuWKDwMdCqwjxxbB6YSICDaUxuScyiRxadVfovNcZFoH9IXhUmyyuH18WICKN+LfThd0KINxswodkdlXSd8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781710607; c=relaxed/simple; bh=b5LWD5QfXea/9hfcz6gkmZKMaic4IoHwihcD6wMuhlU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oZdpWN9k6nOfl0UoXlj2wI/Pf81G5+HIa9xx88dbYEHvBYxY5cmTgwx47sbsTxs1kv2Yg0LN5D7hIIsLuQRd52V8aWIB4HJtOiMswx0Nvn3rIVlVb2Xc7ijldKRCmiV2kqdDMHCF/Gn/5yIXKx6oSUwEzW7JYthO/Kp+d0yRUpc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=C3HW69YQ; arc=none smtp.client-ip=91.218.175.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="C3HW69YQ" Date: Wed, 17 Jun 2026 17:36:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1781710593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ukG8Obl+dv0tRFim3AGkcZvu1/Geyk29Tlk/Y83JGNM=; b=C3HW69YQrzlhHC497L18r4iKPYaqCWl8ly/F7jdHs6xlL/nN9KZGGuE2O5zXdjlE/N3clc ZYKbepLLI3eoQSCARb/OTmGoRzMa9YigmkBRRRUPmTGiOhNdUW9s6UDd2l8G7aIqavVEKx w9xv2ZlMCVwcCYi7vwsVCPBt6x3b++8= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Thorsten Blum To: Jakub Kicinski Cc: Herbert Xu , "David S. Miller" , Eric Dumazet , Kuniyuki Iwashima , Paolo Abeni , Willem de Bruijn , Simon Horman , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH RESEND 1/6] sock: add sock_kzalloc helper Message-ID: References: <20260527082509.1133816-8-thorsten.blum@linux.dev> <20260615091555.4af017aa@kernel.org> Precedence: bulk X-Mailing-List: netdev@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: <20260615091555.4af017aa@kernel.org> X-Migadu-Flow: FLOW_OUT On Mon, Jun 15, 2026 at 09:15:55AM -0700, Jakub Kicinski wrote: > On Sun, 14 Jun 2026 17:32:12 +0200 Thorsten Blum wrote: > > Gentle ping? Patch 1/6 still needs an ack from netdev maintainers. > > Perhaps other maintainers shared my feeling that this is a waste of > time. Could you elaborate on why sock_kzfree_s() is okay, but sock_kzalloc() is not? Both are small, socket-specific zeroing helpers. sock_kzalloc() has the same number of call sites as sock_kzfree_s(), and it could also be used in net/ipv6/exthdrs.c in ipv6_renew_options(). Thanks, Thorsten