diff options
author | Andrew Boyer <andrew.boyer@dell.com> | 2018-05-07 20:23:37 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-05-09 17:45:18 +0300 |
commit | 9f7b16afab9b47de471f4ef6a0c6c337f0a53566 (patch) | |
tree | 1955cf9601917996d43fee7f2e3db8c0689e3744 /init | |
parent | a75895b1ebd944a7873cbf76d30de8720955f8b3 (diff) | |
download | linux-9f7b16afab9b47de471f4ef6a0c6c337f0a53566.tar.xz |
RDMA/i40iw: Avoid reference leaks when processing the AEQ
In this switch there is a reference held on the QP. 'continue' will grab
the next event without releasing the reference, causing a leak.
Change it to 'break' to drop the reference before grabbing the next event.
Fixes: 4e9042e647ff ("i40iw: add hw and utils files")
Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions