Thread (3 messages) flat view 3 messages, 3 authors, 2021-10-16

Re: [PATCH net-next] net: stream: don't purge sk_error_queue in sk_stream_kill_queues()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-10-16 08:14:38

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

On Fri, 15 Oct 2021 06:37:39 -0700 you wrote:
sk_stream_kill_queues() can be called on close when there are
still outstanding skbs to transmit. Those skbs may try to queue
notifications to the error queue (e.g. timestamps).
If sk_stream_kill_queues() purges the queue without taking
its lock the queue may get corrupted, and skbs leaked.

This shows up as a warning about an rmem leak:

[...]
Here is the summary with links:
  - [net-next] net: stream: don't purge sk_error_queue in sk_stream_kill_queues()
    https://git.kernel.org/netdev/net-next/c/24bcbe1cc69f

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