[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150823.160615.1547348326644209495.davem@davemloft.net>
Date: Sun, 23 Aug 2015 16:06:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: chamaken@...il.com
Cc: netdev@...r.kernel.org, daniel@...earbox.net, fw@...len.de
Subject: Re: [PATCH net] netlink: mmap: fix tx type check
From: Ken-ichirou MATSUZAWA <chamaken@...il.com>
Date: Thu, 20 Aug 2015 12:43:53 +0900
> I can't send netlink message via mmaped netlink socket since
>
> commit: a8866ff6a5bce7d0ec465a63bc482a85c09b0d39
> netlink: make the check for "send from tx_ring" deterministic
>
> msg->msg_iter.type is set to WRITE (1) at
>
> SYSCALL_DEFINE6(sendto, ...
> import_single_range(WRITE, ...
> iov_iter_init(1, WRITE, ...
>
> call path, so that we need to check the type by iter_is_iovec()
> to accept the WRITE.
>
> Signed-off-by: Ken-ichirou MATSUZAWA <chamas@...dion.ne.jp>
Applied, thanks.
--
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