net: abstract out normal and compat msghdr import
authorJens Axboe <axboe@kernel.dk>
Thu, 27 Feb 2020 15:11:20 +0000 (08:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Mar 2020 03:04:21 +0000 (20:04 -0700)
commit07a71a47e02614ea3852dc566d2e4b3f634b522d
tree712d5b319a987c4a7a90522d54481901d3ae5da1
parentc1826258882f12149cbb59a8183076b8ec11d681
net: abstract out normal and compat msghdr import

This splits it into two parts, one that imports the message, and one
that imports the iovec. This allows a caller to only do the first part,
and import the iovec manually afterwards.

No functional changes in this patch.

Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/socket.h
include/net/compat.h
net/compat.c
net/socket.c