net: socket: add __compat_sys_setsockopt() helper; remove in-kernel call to compat...
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 16 Mar 2018 15:58:54 +0000 (16:58 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:18 +0000 (20:15 +0200)
commit73ee3eafd5d1037af9762d28d17611bcf64834d6
treee61cae54b3074bcf0f9bdf4501fb49a792b4f1ba
parentfd4e82f5b8612ce90bf85f062f2b7954044a1db7
net: socket: add __compat_sys_setsockopt() helper; remove in-kernel call to compat syscall

Using the net-internal helper __compat_sys_setsockopt() allows us to avoid
the internal calls to the compat_sys_setsockopt() syscall.

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