netlink: mmap: fix tx type check
I can't send netlink message via mmaped netlink socket since
netlink: make the check for "send from tx_ring" deterministic
msg->msg_iter.type is set to WRITE (1) at
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 <email@example.com>
Signed-off-by: David S. Miller <firstname.lastname@example.org>
1 file changed