Thread (9 messages) 9 messages, 2 authors, 2026-06-17

Re: [PATCH RESEND 1/6] sock: add sock_kzalloc helper

From: Thorsten Blum <thorsten.blum@linux.dev>
Date: 2026-06-17 15:36:45
Also in: linux-crypto, lkml

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:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help