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

obd_connect_data handling must account for clients that send obd_connect_data_v1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • Lustre 2.9.0
    • Lustre 2.9.0
    • None
    • 3
    • 9223372036854775807

      Before 2.7.50 clients will send a struct obd_connect_data_v1 rather than a
      full struct obd_connect_data. So care must be taken when accessing fields
      that are not present in struct obd_connect_data_v1. For example in mdt_connect_internal() when we clear ocd_connect_flags2 we may be writing past the end of the request field buffer:

              data->ocd_connect_flags &= MDT_CONNECT_SUPPORTED;
              data->ocd_connect_flags2 &= MDT_CONNECT_SUPPORTED2;
      

            jhammond John Hammond
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: