]> git.baikalelectronics.ru Git - kernel.git/commit
net: add kerneldoc comment for sk_peer_lock
authorEric Dumazet <edumazet@google.com>
Fri, 1 Oct 2021 16:46:22 +0000 (09:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 1 Oct 2021 18:58:38 +0000 (11:58 -0700)
commita0c8e9472a1a9adc7f8c927acb04ac7dc1f7d3e4
treeba8c38c687910fdac5921cd811a3e3ae315259ae
parent1b331dc57c557efd2fd638811cbea7fc193e0d5f
net: add kerneldoc comment for sk_peer_lock

Fixes following warning:

include/net/sock.h:533: warning: Function parameter or member 'sk_peer_lock' not described in 'sock'

Fixes: d0e8c8c9f607 ("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>
Link: https://lore.kernel.org/r/20211001164622.58520-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sock.h