summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-06-23 14:19:03 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-06-25 23:16:45 (GMT)
commit7e24bfbe43b545b1689a5f134ed83645b9e34b86 (patch)
tree74dde1d00b2eb4c739dbe1375853e0e7383ac523 /sound
parentbd8a7036c06cf15779b31a5397d4afcb12be81ea (diff)
downloadlinux-fsl-qoriq-7e24bfbe43b545b1689a5f134ed83645b9e34b86.tar.xz
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 <bhubbard@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions