Skip to content
Commit 0fc95dec authored by Alex Maydanik's avatar Alex Maydanik Committed by David S. Miller
Browse files

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: default avatarAlex Maydanik <alexander.maydanik@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5891cd5e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment