Re: [PATCH net] macvtap: fix recovery from gup errors

From: David Miller
Date: Tue Jun 25 2013 - 19:25:06 EST


From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Mon, 24 Jun 2013 11:23:15 +0800

> On 06/23/2013 10:26 PM, Michael S. Tsirkin wrote:
>> get user pages might fail partially in macvtap zero copy
>> mode. To recover we need to put all pages that we got,
>> but code used a wrong index resulting in double-free
>> errors.
>>
>> Reported-by: Brad Hubbard <bhubbard@xxxxxxxxxx>
>> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
>> ---
>>
>> Same as the tun patch really. Also stable material.
>
> Acked-by: Jason Wang <jasowang@xxxxxxxxxx>

Applied, also with the missing empty line added.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/