socket: use iov_length()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 15 Jan 2015 09:35:58 +0000 (10:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2015 18:56:15 +0000 (13:56 -0500)
Better to use available helpers.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c

diff --cc net/socket.c
Simple merge