/* Please add a note about your changes to smbfs in the ChangeLog file.  */
static int _recvfrom(struct socket *socket, unsigned char *ubuf, int size, unsigned flags)
/* Please add a note about your changes to smbfs in the ChangeLog file.  */
static int _recvfrom(struct socket *socket, unsigned char *ubuf, int size, unsigned flags)
{
	struct kvec iov = {ubuf, size};
	struct msghdr msg = {.msg_flags = flags};
	msg.msg_flags |= MSG_DONTWAIT | MSG_NOSIGNAL;
	return kernel_recvmsg(socket, &msg, &iov, 1, size, msg.msg_flags);
}