Bug 217996 - blkback: Fix potential grant entry leaks on error
blkback: Fix potential grant entry leaks on error
Status: CLOSED DUPLICATE of bug 218355
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Rik van Riel
Depends On:
  Show dependency treegraph
Reported: 2006-12-01 00:29 EST by Herbert Xu
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-12-22 16:12:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Herbert Xu 2006-12-01 00:29:37 EST
Changeset 11888 from xen-unstable.

[BLOCK] blkback: Fix potential grant entry leaks on error

As it stands grant entries for the actual data are mapped in bulk.
If one of the earlier entries fail to be mapped, it can cause all
subsequent entries to be leaked if they were successfully mapped.

This patch changes it so that we will continue to reap grant entries
even when an error is detected.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Comment 2 Rik van Riel 2006-12-01 20:11:18 EST
Just posted to rhkernel-list.
Comment 3 Jay Turner 2006-12-06 17:50:11 EST
QE ack for RHEL5.
Comment 4 Herbert Xu 2006-12-22 16:12:04 EST

*** This bug has been marked as a duplicate of 218355 ***

Note You need to log in before you can comment on or make changes to this bug.