aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2017-07-02 11:20:50 +0300
committerDoug Ledford <[email protected]>2017-08-18 10:46:20 -0400
commitb059e2108d7ac2d63001735f11d79ee670d9e3fe (patch)
treee58b6184b0592e79383f4f28f9f0550a9c96f037 /tools/perf/scripts/python/net_dropmonitor.py
parent836daee2df01b79e9cf54b80b985aea6cff05f57 (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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions