diff --git a/[refs] b/[refs] index 544f235c796a..094169106bec 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6afcb3b7393f5aa388a0d077c490ed411ab3cd27 +refs/heads/master: e0b057b406a33501a656dc8d67ea945d7bcdad61 diff --git a/trunk/security/tomoyo/common.c b/trunk/security/tomoyo/common.c index 96b7233a0df6..d41900de8a69 100644 --- a/trunk/security/tomoyo/common.c +++ b/trunk/security/tomoyo/common.c @@ -2591,6 +2591,7 @@ ssize_t tomoyo_write_control(struct tomoyo_io_buffer *head, return -EFAULT; if (mutex_lock_interruptible(&head->io_sem)) return -EINTR; + head->read_user_buf_avail = 0; idx = tomoyo_read_lock(); /* Read a line and dispatch it to the policy handler. */ while (avail_len > 0) {