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>
Tue, 10 Mar 2020 15:12:49 +0000 (09:12 -0600)
commit0a384abfae66651b28e4bbe16883b1ff046ba3b3
tree482a79b57843d0a2184ecff7c5535ddf9304a88a
parent4d954c258a0c365a85a2d1b1cccf63aec38fca4c
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