This is a note to let you know that I've just added the patch titled macvtap: update file current position to the 3.4-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.4 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:28:30 PST 2014 From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx> Date: Fri, 6 Dec 2013 14:16:50 +0800 Subject: macvtap: update file current position From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx> [ Upstream commit e6ebc7f16ca1434a334647aa56399c546be4e64b ] 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/macvtap.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -905,6 +905,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 wuzhy@xxxxxxxxxxxxxxxxxx are queue-3.4/macvtap-update-file-current-position.patch queue-3.4/macvtap-signal-truncated-packets.patch queue-3.4/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