1. 22 3月, 2023 1 次提交
  2. 30 1月, 2023 1 次提交
  3. 07 12月, 2022 1 次提交
  4. 28 11月, 2022 2 次提交
  5. 10 11月, 2022 2 次提交
  6. 28 9月, 2022 1 次提交
    • K
      wifi: iwlwifi: Track scan_cmd allocation size explicitly · 72c08d9f
      Kees Cook 提交于
      In preparation for reducing the use of ksize(), explicitly track the
      size of scan_cmd allocations. This also allows for noticing if the scan
      size changes unexpectedly. Note that using ksize() was already incorrect
      here, in the sense that ksize() would not match the actual allocation
      size, which would trigger future run-time allocation bounds checking.
      (In other words, memset() may know how large scan_cmd was allocated for,
      but ksize() will return the upper bounds of the actually allocated memory,
      causing a run-time warning about an overflow.)
      
      Cc: Gregory Greenman <gregory.greenman@intel.com>
      Cc: Kalle Valo <kvalo@kernel.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Eric Dumazet <edumazet@google.com>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: Paolo Abeni <pabeni@redhat.com>
      Cc: Luca Coelho <luciano.coelho@intel.com>
      Cc: Johannes Berg <johannes.berg@intel.com>
      Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
      Cc: Miri Korenblit <miriam.rachel.korenblit@intel.com>
      Cc: Ilan Peer <ilan.peer@intel.com>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NKalle Valo <kvalo@kernel.org>
      Link: https://lore.kernel.org/r/20220923220853.3302056-1-keescook@chromium.org
      72c08d9f
  7. 18 9月, 2022 5 次提交
  8. 20 6月, 2022 1 次提交
    • J
      wifi: mac80211: move interface config to new struct · f276e20b
      Johannes Berg 提交于
      We'll use bss_conf for per-link configuration later, so
      move out all the non-link-specific data out into a new
      struct ieee80211_vif_cfg used in the vif.
      
      Some adjustments were done with the following spatch:
      
          @@
          expression sdata;
          struct ieee80211_vif *vifp;
          identifier var = { assoc, ibss_joined, aid, arp_addr_list, arp_addr_cnt, ssid, ssid_len, s1g, ibss_creator };
          @@
          (
          -sdata->vif.bss_conf.var
          +sdata->vif.cfg.var
          |
          -vifp->bss_conf.var
          +vifp->cfg.var
          )
      
          @bss_conf@
          struct ieee80211_bss_conf *bss_conf;
          identifier var = { assoc, ibss_joined, aid, arp_addr_list, arp_addr_cnt, ssid, ssid_len, s1g, ibss_creator };
          @@
          -bss_conf->var
          +vif_cfg->var
      
      (though more manual fixups were needed, e.g. replacing
      "vif_cfg->" by "vif->cfg." in many files.)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      f276e20b
  9. 18 2月, 2022 8 次提交
  10. 16 2月, 2022 1 次提交
  11. 03 2月, 2022 1 次提交
  12. 23 12月, 2021 1 次提交
  13. 21 12月, 2021 6 次提交
  14. 08 12月, 2021 7 次提交
  15. 27 11月, 2021 2 次提交