socket: use ki_nbytes instead of iov_length()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 16 Jan 2015 13:35:09 +0000 (14:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2015 04:58:37 +0000 (23:58 -0500)
This field already contains the length of the iovec, no need to calculate it
again.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
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