net: add kerneldoc comment for sk_peer_lock
Subsystems (3)
PATCH 1/1 net: add kerneldoc comment for sk_peer_lock
From: Eric Dumazet <[email protected]>
Fixes following warning:
include/net/sock.h:533: warning: Function parameter or member 'sk_peer_lock' not described in 'sock'
Fixes 35306eb23814 ("af_unix: fix races in sk_peer_pid and sk_peer_cred accesses")
Signed-off-by Eric Dumazet <[email protected]>
Reported-by Stephen Rothwell <[email protected]>
--- include/net/sock.h | 1 + 1 file changed, 1 insertion(+)
include/net/sock.h +1 -0
@@ -307,6 +307,7 @@ struct bpf_local_storage;* @sk_priority: %SO_PRIORITY setting * @sk_type: socket type (%SOCK_STREAM, etc) * @sk_protocol: which protocol this socket belongs in this network family +* @sk_peer_lock: lock protecting @sk_peer_pid and @sk_peer_cred * @sk_peer_pid: &struct pid for this socket's peer * @sk_peer_cred: %SO_PEERCRED setting * @sk_rcvlowat: %SO_RCVLOWAT setting
Signature · 1 line
2.33.0.800.g4c38ced690-goog
This patch was applied to netdev/net.git (refs/heads/master):
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
Quoted 11 lines · On Fri, 1 Oct 2021 09:46:22 -0700 you wrote:
From: Eric Dumazet <[email protected]>
Fixes following warning:
include/net/sock.h:533: warning: Function parameter or member 'sk_peer_lock' not described in 'sock'Fixes 35306eb23814 ("af_unix: fix races in sk_peer_pid and sk_peer_cred accesses")Signed-off-by Eric Dumazet <[email protected]>Reported-by Stephen Rothwell <[email protected]>[...]
Here is the summary with links:
- [net] net: add kerneldoc comment for sk_peer_lock
https://git.kernel.org/netdev/net/c/5fb14d20f824
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html