diff options
| author | Chuck Lever <[email protected]> | 2014-07-29 17:23:17 -0400 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2014-07-31 16:22:52 -0400 |
| commit | 5fc83f470d8ada25927701512cf94a53dab6c4c8 (patch) | |
| tree | c5e2b937d425229b1f49d92ab69d2ea2f2c0946e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | bf858ab0adcb36fc60a1d941749a7dd0a9bf3d8a (diff) | |
xprtrdma: Fix panic in rpcrdma_register_frmr_external()
seg1->mr_nsegs is not yet initialized when it is used to unmap
segments during an error exit. Use the same unmapping logic for
all error exits.
"if (frmr_wr.wr.fast_reg.length < len) {" used to be a BUG_ON check.
The broken code will never be executed under normal operation.
Fixes: c977dea (xprtrdma: Remove BUG_ON() call sites)
Signed-off-by: Chuck Lever <[email protected]>
Tested-by: Steve Wise <[email protected]>
Tested-by: Shirley Ma <[email protected]>
Tested-by: Devesh Sharma <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions