summary refs log tree commit diff stats
path: root/scripts/qapi/common.py
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia@oracle.com>2018-12-21 16:40:36 +0200
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>2018-12-22 11:09:57 +0200
commit305fd2ba06f49c8d969a8e02113e105304fd9422 (patch)
treef2e858091eed10675ff79f06729ba52a5c664b70 /scripts/qapi/common.py
parent9a3053d2e8104c9c8192d79c6294918a6fb7742b (diff)
downloadfocaccia-qemu-305fd2ba06f49c8d969a8e02113e105304fd9422.tar.gz
focaccia-qemu-305fd2ba06f49c8d969a8e02113e105304fd9422.zip
hw/rdma: Do not call rdma_backend_del_gid on an empty gid
When device goes down the function fini_ports loops over all entries in
gid table regardless of the fact whether entry is valid or not. In case
that entry is not valid we'd like to skip from any further processing in
backend device.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions