RE: [PATCH 16/17] get rid of the size argument of sock_sendmsg()

From
David Laight <hidden>
Date
2015-04-14 16:27:20
Reply to
Al Viro, 2015-04-11
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
Thread (36 messages) 36 messages, 6 authors, last reply 2015-04-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help