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 <firstname.lastname@example.org>
Signed-off-by: David S. Miller <email@example.com>
1 file changed