the next chunk of iov_iter-net stuff for review

From: Al Viro
Date: Fri Dec 05 2014 - 00:56:46 EST


OK, here's the tentative next batch (covers most of the ->recvmsg()
side of conversion). That's on top of merge of net-next#master with
vfs#iov_iter (the latter had been posted earlier today, Cc'd to netdev among
other places). This series corresponds to vfs#for-davem. Review and comments
would be very welcome...

Shortlog:
Al Viro (12):
raw.c: stick msghdr into raw_frag_vec
ipv6 equivalent of "ipv4: Avoid reading user iov twice after raw_probe_proto_opt"
ip_generic_getfrag, udplite_getfrag: switch to passing msghdr
switch tcp_sock->ucopy from iovec (ucopy.iov) to msghdr (ucopy.msg)
switch l2cap ->memcpy_fromiovec() to msghdr
vmci: propagate msghdr all way down to __qp_memcpy_from_queue()
put iov_iter into msghdr
first fruits - kill l2cap ->memcpy_fromiovec()
switch memcpy_to_msg() and skb_copy{,_and_csum}_datagram_msg() to primitives
ppp_read(): switch to skb_copy_datagram_iter()
skb_copy_datagram_iovec() can die
bury memcpy_toiovec()
Diffstat:
crypto/algif_hash.c | 4 +-
crypto/algif_skcipher.c | 4 +-
drivers/misc/vmw_vmci/vmci_queue_pair.c | 17 ++--
drivers/net/macvtap.c | 8 +-
drivers/net/ppp/ppp_generic.c | 4 +-
drivers/net/tun.c | 8 +-
drivers/target/iscsi/iscsi_target_util.c | 12 ++-
drivers/vhost/net.c | 8 +-
fs/afs/rxrpc.c | 14 ++--
include/linux/skbuff.h | 22 ++---
include/linux/socket.h | 3 +-
include/linux/tcp.h | 2 +-
include/linux/uio.h | 1 -
include/linux/vmw_vmci_api.h | 5 +-
include/net/bluetooth/l2cap.h | 29 -------
include/net/udplite.h | 4 +-
lib/iovec.c | 25 ------
net/atm/common.c | 5 +-
net/bluetooth/6lowpan.c | 7 +-
net/bluetooth/a2mp.c | 4 +-
net/bluetooth/l2cap_core.c | 7 +-
net/bluetooth/l2cap_sock.c | 8 --
net/bluetooth/smp.c | 5 +-
net/caif/caif_socket.c | 2 +-
net/compat.c | 10 ++-
net/core/datagram.c | 138 +++++--------------------------
net/ipv4/ip_output.c | 8 +-
net/ipv4/ping.c | 3 +-
net/ipv4/raw.c | 11 +--
net/ipv4/tcp.c | 8 +-
net/ipv4/tcp_input.c | 7 +-
net/ipv4/tcp_output.c | 2 +-
net/ipv4/udp.c | 4 +-
net/ipv6/ping.c | 3 +-
net/ipv6/raw.c | 115 +++++++++++++-------------
net/ipv6/udp.c | 2 +-
net/l2tp/l2tp_ip6.c | 2 +-
net/netlink/af_netlink.c | 2 +-
net/packet/af_packet.c | 7 +-
net/rds/recv.c | 7 +-
net/rds/send.c | 4 +-
net/rxrpc/ar-output.c | 8 +-
net/sctp/socket.c | 5 +-
net/socket.c | 27 +++---
net/tipc/msg.c | 4 +-
net/tipc/socket.c | 4 +-
net/unix/af_unix.c | 10 +--
net/vmw_vsock/vmci_transport.c | 7 +-
48 files changed, 204 insertions(+), 402 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/