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

Potential infinite loop in push target resize code

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      int lnet_push_target_resize(void)
      {
      ...
              int nnis = the_lnet.ln_push_target_nnis;
      ...
      again:
      ...
              if (nnis < the_lnet.ln_push_target_nnis)
                      goto again;
      

      Looks like an infinite loop if we hit the condition for the "goto again" since we don't update the local nnis variable.

      Attachments

        Activity

          People

            hornc Chris Horn
            hornc Chris Horn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: