diff mbox series

[net] net: add kerneldoc comment for sk_peer_lock

Message ID 20211001164622.58520-1-eric.dumazet@gmail.com (mailing list archive)
State Accepted
Commit 5fb14d20f8241461d351bef73e49871e4b2330ab
Delegated to: Netdev Maintainers
Headers show
Series [net] net: add kerneldoc comment for sk_peer_lock | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net
netdev/subject_prefix success Link
netdev/cc_maintainers success CCed 4 of 4 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 3071 this patch: 3071
netdev/kdoc success Errors and warnings before: 1 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 3155 this patch: 3155
netdev/header_inline success Link

Commit Message

Eric Dumazet Oct. 1, 2021, 4:46 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

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 <edumazet@google.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/net/sock.h | 1 +
 1 file changed, 1 insertion(+)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 1, 2021, 7 p.m. UTC | #1
Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Fri,  1 Oct 2021 09:46:22 -0700 you wrote:
> From: Eric Dumazet <edumazet@google.com>
> 
> 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 <edumazet@google.com>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> 
> [...]

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
diff mbox series

Patch

diff --git a/include/net/sock.h b/include/net/sock.h
index ae929e21a376c5fe4909da248e88b3a6595828ca..ea6fbc88c8f90f44f660bbca2cd2288e73039ec7 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -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