diff options
author | Ken-ichirou MATSUZAWA <chamaken@gmail.com> | 2015-08-20 06:43:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-24 02:04:46 +0300 |
commit | c953e23936f902c7719166327e3113639105c981 (patch) | |
tree | ee8594db6b25182cb5c37032eff933810b218c6f /firmware/ihex2fw.c | |
parent | 0bad90985d39e69ca035fdd70bcc743812641d18 (diff) | |
download | linux-c953e23936f902c7719166327e3113639105c981.tar.xz |
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 'firmware/ihex2fw.c')
0 files changed, 0 insertions, 0 deletions