diff options
| author | Sagi Grimberg <[email protected]> | 2017-07-02 11:20:50 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-08-18 10:46:20 -0400 |
| commit | b059e2108d7ac2d63001735f11d79ee670d9e3fe (patch) | |
| tree | e58b6184b0592e79383f4f28f9f0550a9c96f037 /tools/perf/scripts/python/bin | |
| parent | 836daee2df01b79e9cf54b80b985aea6cff05f57 (diff) | |
RDMA/core: make ib_device.add method optional
ib_clients can indeed fill .add to NULL, but then they will not see
any device removal notifications. The reason is that that
ib_register_client and ib_register_device checked existence of .add
before adding the creating a corresponding client_data and adding
it to the list. Simple condition reverse fixes the issue.
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions