Bluetooth: ISO: use hci_sync for setting CIG parameters
[linux-2.6-microblaze.git] / io_uring / net.c
index a8e3037..d7e6efe 100644 (file)
@@ -397,6 +397,7 @@ int io_send(struct io_kiocb *req, unsigned int issue_flags)
        if (flags & MSG_WAITALL)
                min_ret = iov_iter_count(&msg.msg_iter);
 
+       flags &= ~MSG_INTERNAL_SENDMSG_FLAGS;
        msg.msg_flags = flags;
        ret = sock_sendmsg(sock, &msg);
        if (ret < min_ret) {
@@ -1154,6 +1155,7 @@ int io_send_zc(struct io_kiocb *req, unsigned int issue_flags)
                msg_flags |= MSG_DONTWAIT;
        if (msg_flags & MSG_WAITALL)
                min_ret = iov_iter_count(&msg.msg_iter);
+       msg_flags &= ~MSG_INTERNAL_SENDMSG_FLAGS;
 
        msg.msg_flags = msg_flags;
        msg.msg_ubuf = &io_notif_to_data(zc->notif)->uarg;