diff options
author | Alex Maydanik <alexander.maydanik@gmail.com> | 2022-02-12 12:29:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-14 14:01:19 +0000 |
commit | 0fc95dec096c2133942c382396172ae4487b4d57 (patch) | |
tree | 8d72344fa437975bc1a59a891943128f05dbac56 /fs/locks.c | |
parent | 5891cd5ec46c2c2eb6427cb54d214b149635dd0e (diff) |
net: fix documentation for kernel_getsockname
Fixes return value documentation of kernel_getsockname()
and kernel_getpeername() functions.
The previous documentation wrongly specified that the return
value is 0 in case of success, however sock->ops->getname returns
the length of the address in bytes in case of success.
Signed-off-by: Alex Maydanik <alexander.maydanik@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions