Commit e73ab93
committed
pml/ob1: do not access fragment after calling btl rget
This commit fixes a bug that occurs when the btl callback happens before
the rget returns. In this case the fragment has been returned and is no
longer valid. This commit saves the size before calling rget. This is
valid since the BTL is not allowed to change the read size.
Fixes #3821
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>1 parent 6570374 commit e73ab93
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
753 | 753 | | |
754 | 754 | | |
755 | 755 | | |
| 756 | + | |
| 757 | + | |
756 | 758 | | |
757 | 759 | | |
758 | 760 | | |
759 | 761 | | |
760 | 762 | | |
761 | 763 | | |
762 | | - | |
763 | 764 | | |
764 | 765 | | |
765 | 766 | | |
| |||
0 commit comments