net: move zerocopy_sg_from_iovec() to net/core/datagram.c
authorJason Wang <jasowang@redhat.com>
Tue, 6 Aug 2013 09:45:04 +0000 (17:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Aug 2013 23:52:34 +0000 (16:52 -0700)
commitc3bdeb5c7cc073ccf5ff9624642022a8613a956e
tree59dd31538e9da9d5adecbc9c96d7d8a1aa0aa50d
parentb4bf07771faaf959b0a916d35b1b930c030e30a8
net: move zerocopy_sg_from_iovec() to net/core/datagram.c

To let it be reused and reduce code duplication. Also document this function.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c
drivers/net/tun.c
include/linux/skbuff.h
net/core/datagram.c