diff options
| author | Ganesh Goudar <ganeshgr@chelsio.com> | 2017-01-20 10:02:01 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 22:44:01 +0300 |
| commit | bab572f1d42dc79d366095fe939f012c59f603f4 (patch) | |
| tree | 67ecee97d3a982347a1af384e94702bd627c73d8 /tools/perf/scripts/python/sched-migration.py | |
| parent | f57e8ca50e23b9e69b2d9f057ca07f9817daab09 (diff) | |
| download | linux-bab572f1d42dc79d366095fe939f012c59f603f4.tar.xz | |
iw_cxgb4: Guard against null cm_id in dump_ep/qp
Endpoints that are aborting can have already dereferenced the
cm_id and set ep->com.cm_id to NULL. So guard against that in
dump_ep() and dump_qp().
Also create a common function for setting up ip address pointers
since the same logic is needed in several places.
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
