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

Re: [PATCH net v2 1/2] net/tls: Fix flipped sign in tls_err_abort() calls

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-10-28 13:50:20

Hello:

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

On Wed, 27 Oct 2021 17:59:20 -0400 you wrote:
sk->sk_err appears to expect a positive value, a convention that ktls
doesn't always follow and that leads to memory corruption in other code.
For instance,

    [kworker]
    tls_encrypt_done(..., err=<negative error from crypto request>)
      tls_err_abort(.., err)
        sk->sk_err = err;

[...]
Here is the summary with links:
  - [net,v2,1/2] net/tls: Fix flipped sign in tls_err_abort() calls
    https://git.kernel.org/netdev/net/c/da353fac65fe
  - [net,v2,2/2] net/tls: Fix flipped sign in async_wait.err assignment
    https://git.kernel.org/netdev/net/c/1d9d6fd21ad4

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