This is a note to let you know that I've just added the patch titled
macvtap: update file current position
to the 3.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
macvtap-update-file-current-position.patch
and it can be found in the queue-3.12 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From foo@baz Mon Jan 13 09:44:41 PST 2014
From: Zhi Yong Wu <[email protected]>
Date: Fri, 6 Dec 2013 14:16:50 +0800
Subject: macvtap: update file current position
From: Zhi Yong Wu <[email protected]>
[ Upstream commit e6ebc7f16ca1434a334647aa56399c546be4e64b ]
Signed-off-by: Zhi Yong Wu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/net/macvtap.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -886,6 +886,8 @@ static ssize_t macvtap_aio_read(struct k
ret = macvtap_do_read(q, iocb, iv, len, file->f_flags & O_NONBLOCK);
ret = min_t(ssize_t, ret, len); /* XXX copied from tun.c. Why? */
+ if (ret > 0)
+ iocb->ki_pos = ret;
out:
return ret;
}
Patches currently in stable-queue which might be from [email protected]
are
queue-3.12/macvtap-update-file-current-position.patch
queue-3.12/macvtap-signal-truncated-packets.patch
queue-3.12/tun-unbreak-truncated-packet-signalling.patch
queue-3.12/tun-update-file-current-position.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html