diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-27 07:27:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-27 07:55:59 -0700 |
commit | 645f08975f49441b3e753d8dc5b740cbcb226594 (patch) | |
tree | eed09695e3419e53d928dc4689e6ef761847f0a9 /net/socket.c | |
parent | a092b7233f0e000cc6f2c71a49e2ecc6f917a5fc (diff) |
net: Fix some comments
Fix some comments, including wrong function name, duplicated word and so
on.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket.c b/net/socket.c index dbbe8ea7d395..0c0144604f81 100644 --- a/net/socket.c +++ b/net/socket.c @@ -3610,7 +3610,7 @@ int kernel_getsockname(struct socket *sock, struct sockaddr *addr) EXPORT_SYMBOL(kernel_getsockname); /** - * kernel_peername - get the address which the socket is connected (kernel space) + * kernel_getpeername - get the address which the socket is connected (kernel space) * @sock: socket * @addr: address holder * @@ -3671,7 +3671,7 @@ int kernel_sendpage_locked(struct sock *sk, struct page *page, int offset, EXPORT_SYMBOL(kernel_sendpage_locked); /** - * kernel_shutdown - shut down part of a full-duplex connection (kernel space) + * kernel_sock_shutdown - shut down part of a full-duplex connection (kernel space) * @sock: socket * @how: connection part * |