]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/caif/caif_socket.c
net: Add and use skb_copy_datagram_msg() helper.
authorDavid S. Miller <davem@davemloft.net>
Wed, 5 Nov 2014 21:46:40 +0000 (16:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Nov 2014 21:46:40 +0000 (16:46 -0500)
commit51f3d02b980a338cd291d2bc7629cdfb2568424b
treef49898ea87db3d5e3f5c248ab21f6ed0a70785b8
parent1d76c1d028975df8488d1ae18a76f268eb5efa93
net: Add and use skb_copy_datagram_msg() helper.

This encapsulates all of the skb_copy_datagram_iovec() callers
with call argument signature "skb, offset, msghdr->msg_iov, length".

When we move to iov_iters in the networking, the iov_iter object will
sit in the msghdr.

Having a helper like this means there will be less places to touch
during that transformation.

Based upon descriptions and patch from Al Viro.

Signed-off-by: David S. Miller <davem@davemloft.net>
43 files changed:
drivers/isdn/mISDN/socket.c
drivers/net/ppp/pppoe.c
include/linux/skbuff.h
net/appletalk/ddp.c
net/atm/common.c
net/ax25/af_ax25.c
net/bluetooth/af_bluetooth.c
net/bluetooth/hci_sock.c
net/caif/caif_socket.c
net/core/sock.c
net/dccp/proto.c
net/ieee802154/dgram.c
net/ieee802154/raw.c
net/ipv4/ip_sockglue.c
net/ipv4/ping.c
net/ipv4/raw.c
net/ipv4/tcp.c
net/ipv4/udp.c
net/ipv6/datagram.c
net/ipv6/raw.c
net/ipv6/udp.c
net/ipx/af_ipx.c
net/irda/af_irda.c
net/iucv/af_iucv.c
net/key/af_key.c
net/l2tp/l2tp_ip.c
net/l2tp/l2tp_ip6.c
net/l2tp/l2tp_ppp.c
net/llc/af_llc.c
net/netlink/af_netlink.c
net/netrom/af_netrom.c
net/nfc/llcp_sock.c
net/nfc/rawsock.c
net/packet/af_packet.c
net/phonet/datagram.c
net/phonet/pep.c
net/rose/af_rose.c
net/rxrpc/ar-recvmsg.c
net/sctp/socket.c
net/tipc/socket.c
net/unix/af_unix.c
net/vmw_vsock/vmci_transport.c
net/x25/af_x25.c