Skip to content
Commit 66c1a12c authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by David S. Miller
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7b68b2f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment