1. 01 3月, 2022 1 次提交
    • J
      mac80211: treat some SAE auth steps as final · 94d9864c
      Johannes Berg 提交于
      When we get anti-clogging token required (added by the commit
      mentioned below), or the other status codes added by the later
      commit 4e56cde1 ("mac80211: Handle special status codes in
      SAE commit") we currently just pretend (towards the internal
      state machine of authentication) that we didn't receive anything.
      
      This has the undesirable consequence of retransmitting the prior
      frame, which is not expected, because the timer is still armed.
      
      If we just disarm the timer at that point, it would result in
      the undesirable side effect of being in this state indefinitely
      if userspace crashes, or so.
      
      So to fix this, reset the timer and set a new auth_data->waiting
      in order to have no more retransmissions, but to have the data
      destroyed when the timer actually fires, which will only happen
      if userspace didn't continue (i.e. crashed or abandoned it.)
      
      Fixes: a4055e74 ("mac80211: Don't destroy auth data in case of anti-clogging")
      Reported-by: NJouni Malinen <j@w1.fi>
      Link: https://lore.kernel.org/r/20220224103932.75964e1d7932.Ia487f91556f29daae734bf61f8181404642e1eec@changeidSigned-off-by: NJohannes Berg <johannes.berg@intel.com>
      94d9864c
  2. 16 2月, 2022 3 次提交
  3. 31 1月, 2022 1 次提交
  4. 04 1月, 2022 5 次提交
  5. 20 12月, 2021 8 次提交
  6. 14 12月, 2021 8 次提交
  7. 29 11月, 2021 2 次提交
  8. 26 11月, 2021 10 次提交
  9. 22 11月, 2021 1 次提交
  10. 19 11月, 2021 1 次提交