From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 978923B9935; Tue, 26 May 2026 14:17:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779805033; cv=none; b=CIs9CfE2hhW10VMCAj++zRP2QjLDBbc5sA1lG8o8Ib2XY/lssjbZKjapu+2vwv1PRBFXQIdhfRwFlhHCspVxZ+ls/cTsdJCIYG7MUFHLBZEmLC3WAI+H1HDokPh73zRlLcqgVrcLFptElWsI/7O/5MC5alxHXPu9OlTlGXKc1vg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779805033; c=relaxed/simple; bh=uJFgd3/ogk0JmiL+ilZMgsxh3azG0zM/yHpAHSbKVLo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h6eQlltXVALhMEiKAF106K3luEXHslNmCSovfbpCIzN8j1VfexoUT0NPjCQAfYReUGbDr8THzJW4IL/V1J6q9zuhGtbKw81jm5imsOA35bRxWox8rRJsMumdD7Wx2Ok5mFny9ZYEXYvI8wzsjv1ls6qiSlwCVn9lxJ9dUqyRos0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cRt+GCB+; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cRt+GCB+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 307DE1F000E9; Tue, 26 May 2026 14:17:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779805032; bh=MOmfqqaPenCKNf8Jd7LGVJ2lCf/SJRwRNixbV+upgkg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=cRt+GCB+krSclmk2bvdkFkbTtWOZBrucfMRvXAHVRk6KLh8bnLT41k9GNxpGpTJMW nBUUIrDjzji/xaDRhcaF/p5EErQ+uKcRK9+x1mrFkf3451MBDfJhlk1kPMZGUz3fsR 5nN53DLvus5UQdtU7ubxb06GgfpKwyqgsHX4Gj+Co+ifdEBHJ+HyXe24p8EmzfKaDh TbSqYEJfzT00O5wW8C2gbm9wU/fl7TQrHeFd6N7lYF2tMMEp+s3+bOcvNVOpEJKDsZ s92seROqPXr9tQV3w883KirwTJZMumj9e+iwhH8H89f1VugAN6aDTYk14/L4owwkOm pIh3SiHVsPM+Q== Date: Tue, 26 May 2026 15:17:07 +0100 From: Simon Horman To: Herbert Xu Cc: Thorsten Blum , "David S. Miller" , Eric Dumazet , Kuniyuki Iwashima , Paolo Abeni , Willem de Bruijn , Jakub Kicinski , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] sock: add sock_kzalloc helper Message-ID: <20260526141707.GL1506108@horms.kernel.org> References: <20260427104129.309982-7-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-crypto@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: On Tue, May 26, 2026 at 05:14:12PM +0800, Herbert Xu wrote: > On Fri, May 22, 2026 at 02:50:19PM +0200, Thorsten Blum wrote: > > Hi Herbert, > > > > On Mon, Apr 27, 2026 at 12:41:30PM +0200, Thorsten Blum wrote: > > > Add sock_kzalloc() helper - the sock equivalent to kzalloc(). > > > > > > Signed-off-by: Thorsten Blum > > > --- > > > include/net/sock.h | 5 +++++ > > > 1 file changed, 5 insertions(+) > > > > > > diff --git a/include/net/sock.h b/include/net/sock.h > > > index dccd3738c368..20bf406dff2d 100644 > > > --- a/include/net/sock.h > > > +++ b/include/net/sock.h > > > @@ -1904,6 +1904,11 @@ void sock_kfree_s(struct sock *sk, void *mem, int size); > > > void sock_kzfree_s(struct sock *sk, void *mem, int size); > > > void sk_send_sigurg(struct sock *sk); > > > > > > +static inline void *sock_kzalloc(struct sock *sk, int size, gfp_t priority) > > > +{ > > > + return sock_kmalloc(sk, size, priority | __GFP_ZERO); > > > +} > > > + > > > static inline void sock_replace_proto(struct sock *sk, struct proto *proto) > > > { > > > if (sk->sk_socket) > > > > Can you take this series or should I resend this to net-next? > > This patch needs an ack from the netdev maintainers. In which case it probably needs to hit the netdev mailing list. Thanks!