This is a note to let you know that I've just added the patch titled
tun: 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:
tun-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:51 +0800
Subject: tun: update file current position
From: Zhi Yong Wu <[email protected]>
[ Upstream commit d0b7da8afa079ffe018ab3e92879b7138977fc8f ]
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/tun.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1356,6 +1356,8 @@ static ssize_t tun_chr_aio_read(struct k
ret = tun_do_read(tun, tfile, iocb, iv, len,
file->f_flags & O_NONBLOCK);
ret = min_t(ssize_t, ret, len);
+ if (ret > 0)
+ iocb->ki_pos = ret;
out:
tun_put(tun);
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