]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit66c1a12c65c5bee2427b7813218d1279e4906084
tree37a6516934c7478a42cb056a0fe3ef302d240654
parent7b68b2f71497a611755a490c3dad25c32f506cdf
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>
net/socket.c