[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141113.143551.1032729786667755501.davem@davemloft.net>
Date: Thu, 13 Nov 2014 14:35:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: jasowang@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, mst@...hat.com
Subject: Re: [PATCH net-next] tun: fix issues of iovec iterators using in
tun_put_user()
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 13 Nov 2014 16:58:38 +0800
> On Thu, Nov 13, 2014 at 04:54:14PM +0800, Jason Wang wrote:
>> This patch fixes two issues after using iovec iterators:
>> - vlan_offset should be initialized to zero, otherwise unexpected offset
>> will be used in skb_copy_datagram_iter()
>> - advance iovec iterator when vnet_hdr_sz is greater than sizeof(gso), this
>> is the case when mergeable rx buffer were enabled for a virt guest.
>>
>> Fixes e0b46d0ee9c240c7430a47e9b0365674d4a04522 ("tun: Use iovec iterators")
>> Cc: Herbert Xu <herbert@...dor.apana.org.au>
>> Signed-off-by: Jason Wang <jasowang@...hat.com>
>
> Good catch.
>
> Acked-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists