RE: [PATCH 15/17] switch kernel_sendmsg() and kernel_recvmsg() to iov_iter_kvec()

From
David Laight <hidden>
Date
2015-04-14 16:38:32
Reply to
Al Viro, 2015-04-14
From: Al Viro 
Sent: 14 April 2015 17:34
On Tue, Apr 14, 2015 at 04:21:02PM +0000, David Laight wrote:
quoted
Massive NAK.
This breaks any code that is using msg_control to set SCTP parameters
when sending data.
	Huh?  ->sendmsg() expects ->msg_control already in kernel space;
it's ->recvmsg() that plays silly buggers with userland pointers there.
I read your commit message as implying that you hadn't found any
users of kernel_sendmsg() that used msg_control.
Not that the data was always read from kernel space.

	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