net: socket: replace calls to sys_send() with __sys_sendto()
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 13 Mar 2018 18:52:00 +0000 (19:52 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:16 +0000 (20:15 +0200)
commitf3bf896b1d041153ea1c6cfa58f6f4658c91089f
tree77445b3d5d98a6bc4ba26a83dac7e1bbcb225683
parente1834a329d6bb5659c14e9e537bd1f750fe3b85e
net: socket: replace calls to sys_send() with __sys_sendto()

sys_send() merely expands the parameters to __sys_sendto() by NULL and 0.
Open-code this in the two places which used sys_send() as a wrapper to
__sys_sendto().

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527.GA17492@light.dominikbrodowski.net

Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
net/compat.c
net/socket.c