From: Michael S. Tsirkin Date: Sun, 23 Jun 2013 14:26:58 +0000 (+0300) Subject: macvtap: fix recovery from gup errors X-Git-Tag: v3.10~13^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c7ab054ab4f5d63625508ed6f8a607184cae7c2;p=pandora-kernel.git macvtap: fix recovery from gup errors 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 Acked-by: Jason Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed