[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6D1CB1DDB2@AcuExch.aculab.com>
Date: Tue, 14 Apr 2015 16:25:24 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Al Viro' <viro@...IV.linux.org.uk>,
"davem@...emloft.net" <davem@...emloft.net>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH 16/17] get rid of the size argument of sock_sendmsg()
From: Al Viro
> Sent: 11 April 2015 22:18
> it's equal to iov_iter_count(&msg->msg_iter) in all cases
I don't know whether this is guaranteed for iov[] that come from
userspace.
In any case iov_iter_count() is non-trivial and you don't
really want to call it when unnecessary.
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists