Thread (31 messages) 31 messages, 7 authors, 2024-10-16

Re: [PATCH net-next v3 8/9] net: warn, if pf->create does not clear sock->sk on error

flat view

From: Eric Dumazet <hidden>
Date: 2024-10-15 08:06:43
Also in: linux-bluetooth, linux-can, lkml

On Mon, Oct 14, 2024 at 11:40 PM Kuniyuki Iwashima [off-list ref] wrote:
From: Ignat Korchagin <redacted>
Date: Mon, 14 Oct 2024 16:38:07 +0100
quoted
All pf->create implementations have been fixed now to clear sock->sk on
error, when they deallocate the allocated sk object.

Put a warning in place to make sure we don't break this promise in the
future.

Suggested-by: Kuniyuki Iwashima <redacted>
Signed-off-by: Ignat Korchagin <redacted>
Reviewed-by: Kuniyuki Iwashima <redacted>
Reviewed-by: Eric Dumazet <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help