Thread (9 messages) 9 messages, 4 authors, 2023-06-12

Re: [PATCH 1/2 net] sctp: handle invalid error codes without calling BUG()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-06-12 08:40:20
Also in: kernel-janitors, linux-sctp

Hello:

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

On Fri, 9 Jun 2023 14:04:43 +0300 you wrote:
The sctp_sf_eat_auth() function is supposed to return enum sctp_disposition
values but if the call to sctp_ulpevent_make_authkey() fails, it returns
-ENOMEM.

This results in calling BUG() inside the sctp_side_effects() function.
Calling BUG() is an over reaction and not helpful.  Call WARN_ON_ONCE()
instead.

[...]
Here is the summary with links:
  - [1/2,net] sctp: handle invalid error codes without calling BUG()
    https://git.kernel.org/netdev/net/c/a0067dfcd941
  - [2/2,net] sctp: fix an error code in sctp_sf_eat_auth()
    https://git.kernel.org/netdev/net/c/75e6def3b267

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