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 18:49:14 +0000 (11:49 -0700)
commit1fa96c7f2c218cc12bff8142896d7ad777119937
treec32ed15c5d5b960dc764927a1aee1ea5d0df3f94
parentf7e4223ce3098e90cacbd14c947a0905c6a1fb1d
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