diff options
author | Michael S. Tsirkin <[email protected]> | 2013-06-23 17:19:03 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-06-25 16:16:45 -0700 |
commit | 7e24bfbe43b545b1689a5f134ed83645b9e34b86 (patch) | |
tree | 74dde1d00b2eb4c739dbe1375853e0e7383ac523 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | bd8a7036c06cf15779b31a5397d4afcb12be81ea (diff) |
tun: fix recovery from gup errors
get user pages might fail partially in tun 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]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions