Thread (2 messages) 2 messages, 2 authors, 2023-01-05

Re: [PATCH net] net/ulp: prevent ULP without clone op from entering the LISTEN status

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-01-05 04:44:52

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [off-list ref]:

On Tue,  3 Jan 2023 12:19:17 +0100 you wrote:
When an ULP-enabled socket enters the LISTEN status, the listener ULP data
pointer is copied inside the child/accepted sockets by sk_clone_lock().

The relevant ULP can take care of de-duplicating the context pointer via
the clone() operation, but only MPTCP and SMC implement such op.

Other ULPs may end-up with a double-free at socket disposal time.

[...]
Here is the summary with links:
  - [net] net/ulp: prevent ULP without clone op from entering the LISTEN status
    https://git.kernel.org/netdev/net/c/2c02d41d71f9

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help