commit | 66c1a12c65c5bee2427b7813218d1279e4906084 | [log] [tgz] |
---|---|---|
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | Fri Jan 16 14:35:09 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Jan 17 23:58:37 2015 -0500 |
tree | 37a6516934c7478a42cb056a0fe3ef302d240654 | |
parent | 7b68b2f71497a611755a490c3dad25c32f506cdf [diff] |
socket: use ki_nbytes instead of iov_length() 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>