[LU-9911] lnet_peer_discovery_complete() must use safe list iteration Created: 24/Aug/17 Updated: 25/Aug/17 Resolved: 25/Aug/17 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
In lnet_peer_discovery_complete() we must use list_for_each_entry_safe() since lnet_finalize() may remove the message from the pending message list. There should also be an assertion at the end of the function that the pending list is empty. |
| Comments |
| Comment by John Hammond [ 25/Aug/17 ] |
|
Forgot and reported this twice. See |