aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorliuyacan <[email protected]>2022-05-25 16:54:08 +0800
committerJakub Kicinski <[email protected]>2022-05-25 21:58:41 -0700
commitb3b1a17538d3ef6a9667b2271216fd16d7678ab5 (patch)
tree3a77a261d6251bd36e6ce9605ee9a2050ce8fa7c /tools/perf/scripts/python/event_analyzing_sample.py
parent215cd9897afbce9a964d4afbeec58c086d6cb170 (diff)
net/smc: set ini->smcrv2.ib_dev_v2 to NULL if SMC-Rv2 is unavailable
In the process of checking whether RDMAv2 is available, the current implementation first sets ini->smcrv2.ib_dev_v2, and then allocates smc buf desc and register rmb, but the latter may fail. In this case, the pointer should be reset. Fixes: e49300a6bf62 ("net/smc: add listen processing for SMC-Rv2") Signed-off-by: liuyacan <[email protected]> Reviewed-by: Karsten Graul <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions