This is a note to let you know that I've just added the patch titled tun: update file current position to the 3.10-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.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From foo@baz Mon Jan 13 09:39:01 PST 2014 From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx> Date: Fri, 6 Dec 2013 14:16:51 +0800 Subject: tun: update file current position From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx> [ Upstream commit d0b7da8afa079ffe018ab3e92879b7138977fc8f ] Signed-off-by: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/net/tun.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1412,6 +1412,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 wuzhy@xxxxxxxxxxxxxxxxxx are queue-3.10/macvtap-update-file-current-position.patch queue-3.10/macvtap-signal-truncated-packets.patch queue-3.10/tun-update-file-current-position.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html