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)
commit7eb35b148305c6f86a6bc5818c29f79e0d45146c
treebb196b77d758c25556f58565ad663f2c8568ca3e
parent4e7a84b1a5bc8094522fd11f628b00c4b4e78b4d
socket: use iov_length()

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