diff options
author | 2015-08-20 12:43:53 +0900 | |
---|---|---|
committer | 2015-08-23 16:04:46 -0700 | |
commit | c953e23936f902c7719166327e3113639105c981 (patch) | |
tree | ee8594db6b25182cb5c37032eff933810b218c6f /sound | |
parent | Merge tag 'pm+acpi-4.2-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff) | |
download | linux-dev-c953e23936f902c7719166327e3113639105c981.tar.xz linux-dev-c953e23936f902c7719166327e3113639105c981.zip |
netlink: mmap: fix tx type check
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@h4.dion.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions