Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-5734

LNet dynamic control: lnet_dyn_add_ni() can't clean up failed NI in some cases

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.7.0
    • Fix Version/s: Lustre 2.7.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      16097

      Description

      In lnet_dyn_add_ni(), if lnet_startup_lndnis() fails, then NI on the local &net_head list is freed. But lnet_startup_lndnis(&net_head) can fail after list_del(&ni->ni_list), i.e. after the NI has been removed already from the &net_head. In this case I failed to see where the NI gets cleaned up and freed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ashehata Amir Shehata
                Reporter:
                isaac Isaac Huang (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: