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

2013-06-25 Thread David Miller
From: Jason Wang 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. >> >>

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

2013-06-23 Thread Jason Wang
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 > Signed-off-by: Michael S. Tsirkin