aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2013-06-23 17:26:58 +0300
committerDavid S. Miller <[email protected]>2013-06-25 16:17:10 -0700
commit4c7ab054ab4f5d63625508ed6f8a607184cae7c2 (patch)
tree63273346588712553b8bece014b124cd2b6196e4 /net/lapb/lapb_out.c
parent7e24bfbe43b545b1689a5f134ed83645b9e34b86 (diff)
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 <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions