[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:
Related
is related to LU-9480 LNet Dynamic Discovery Resolved
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 LU-9921 instead.

Generated at Sat Feb 10 02:30:24 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.