diff options
author | Stefano Stabellini <sstabellini@kernel.org> | 2018-12-21 15:06:30 -0800 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2019-01-02 11:00:10 -0500 |
commit | 96283f9a084e23d7cda2d3c5d1ffa6df6cf1ecec (patch) | |
tree | fe0a1cbbe09216545c426d7743f954feff8c07a3 /lib/test_overflow.c | |
parent | b79470b64fa9266948d1ce8d825ced94c4f63293 (diff) |
pvcalls-front: don't try to free unallocated rings
inflight_req_id is 0 when initialized. If inflight_req_id is 0, there is
no accept_map to free. Fix the check in pvcalls_front_release.
Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions