1. 19 1月, 2019 1 次提交
  2. 18 12月, 2018 1 次提交
  3. 05 12月, 2018 1 次提交
  4. 09 11月, 2018 5 次提交
  5. 08 10月, 2018 1 次提交
  6. 26 9月, 2018 3 次提交
  7. 05 9月, 2018 1 次提交
  8. 28 8月, 2018 2 次提交
  9. 16 8月, 2018 1 次提交
  10. 09 7月, 2018 1 次提交
  11. 15 6月, 2018 1 次提交
  12. 29 5月, 2018 1 次提交
  13. 22 5月, 2018 1 次提交
  14. 07 5月, 2018 1 次提交
  15. 19 4月, 2018 1 次提交
  16. 12 4月, 2018 1 次提交
  17. 28 3月, 2018 1 次提交
  18. 21 3月, 2018 3 次提交
  19. 02 3月, 2018 2 次提交
    • K
      net: Convert hwsim_net_ops · 2e75bb2f
      Kirill Tkhai 提交于
      These pernet_operations allocate and destroy IDA identifier,
      and these actions are synchronized by IDA subsystem locks.
      Exit method removes mac80211_hwsim_data enteries from the lists,
      and this is synchronized by hwsim_radio_lock with the rest
      parallel pernet_operations. Also it queues destroy_radio()
      work, and these work already may be executed in parallel
      with any pernet_operations (as it's a work :). So, we may
      mark these pernet_operations as async.
      Signed-off-by: NKirill Tkhai <ktkhai@virtuozzo.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      2e75bb2f
    • K
      mac80211_hwsim: Make hwsim_netgroup IDA · 03695549
      Kirill Tkhai 提交于
      hwsim_netgroup counter is declarated as int, and it is incremented
      every time a new net is created. After sizeof(int) net are created,
      it will overflow, and different net namespaces will have the same
      identifier. This patch fixes the problem by introducing IDA instead
      of int counter. IDA guarantees, all the net namespaces have the uniq
      identifier.
      
      Note, that after we do ida_simple_remove() in hwsim_exit_net(),
      and we destroy the ID, later there may be executed destroy_radio()
      from the workqueue. But destroy_radio() does not use the ID, so it's OK.
      
      Out of bounds of this patch, just as a report to wireless subsystem
      maintainer, destroy_radio() increaments hwsim_radios_generation
      without hwsim_radio_lock, so this may need one more patch to fix.
      Signed-off-by: NKirill Tkhai <ktkhai@virtuozzo.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      03695549
  20. 19 2月, 2018 1 次提交
    • J
      mac80211_hwsim: don't use WQ_MEM_RECLAIM · ce162bfb
      Johannes Berg 提交于
      We're obviously not part of a memory reclaim path, so don't set the flag.
      
      This also causes a warning in check_flush_dependency() since we end up
      in a code path that flushes a non-reclaim workqueue, and we shouldn't do
      that if we were really part of reclaim.
      
      Reported-by: syzbot+41cdaf4232c50e658934@syzkaller.appspotmail.com
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      ce162bfb
  21. 31 1月, 2018 3 次提交
  22. 22 1月, 2018 1 次提交
  23. 15 1月, 2018 4 次提交
  24. 19 12月, 2017 2 次提交