Thread (2 messages) 2 messages, 2 authors, 2025-07-17

Re: [PATCH net] phonet/pep: Move call to pn_skb_get_dst_sockaddr() earlier in pep_sock_accept()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-07-17 14:39:46
Also in: linux-patches, llvm, stable

Hello:

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

On Tue, 15 Jul 2025 16:15:40 -0700 you wrote:
A new warning in clang [1] points out a place in pep_sock_accept() where
dst is uninitialized then passed as a const pointer to pep_find_pipe():

  net/phonet/pep.c:829:37: error: variable 'dst' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer]
    829 |         newsk = pep_find_pipe(&pn->hlist, &dst, pipe_handle);
        |                                            ^~~:

[...]
Here is the summary with links:
  - [net] phonet/pep: Move call to pn_skb_get_dst_sockaddr() earlier in pep_sock_accept()
    https://git.kernel.org/netdev/net/c/17ba793f381e

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