Skip to contentSkip to conversation

net: add kerneldoc comment for sk_peer_lock

PATCH Applied Eric Dumazet 2 participants 2 messages Oct 1, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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")
---
 include/net/sock.h | 1 +
 1 file changed, 1 insertion(+)
include/net/sock.h +1 -0
index ae929e21a376c5fe4909da248e88b3a6595828ca..ea6fbc88c8f90f44f660bbca2cd2288e73039ec7 100644
@@ -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
#1 lore raw
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")

[...]

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