net: move iov_pages() to net/core/iovec.c
authorJason Wang <jasowang@redhat.com>
Tue, 6 Aug 2013 09:45:03 +0000 (17:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Aug 2013 23:52:33 +0000 (16:52 -0700)
commitb4bf07771faaf959b0a916d35b1b930c030e30a8
tree9292ea7010fc74fb5c3f5039ee3886b1f42702f3
parent6261d983f226f0a6a8d4d32b57a032bc23a5ebb6
net: move iov_pages() to net/core/iovec.c

To let it be reused and reduce code duplication.

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/socket.h
net/core/iovec.c