1. 29 3月, 2018 14 次提交
  2. 21 3月, 2018 2 次提交
  3. 27 2月, 2018 2 次提交
    • F
      mac80211: support A-MSDU in fast-rx · 24bba078
      Felix Fietkau 提交于
      Only works if the IV was stripped from packets. Create a smaller
      variant of ieee80211_rx_h_amsdu, which bypasses checks already done
      within the fast-rx context.
      
      In order to do so, update cfg80211's ieee80211_data_to_8023_exthdr()
      to take the offset between header and snap.
      Signed-off-by: NFelix Fietkau <nbd@nbd.name>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      24bba078
    • R
      cfg80211: add missing dependency to CFG80211 suboptions · a7887236
      Romain Naour 提交于
      New options introduced by the patch this fixes are still
      enabled even if CFG80211 is disabled.
      
      .config:
          # CONFIG_CFG80211 is not set
          CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
          CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
          # CONFIG_LIB80211 is not set
      
      When CFG80211_REQUIRE_SIGNED_REGDB is enabled, it selects
      SYSTEM_DATA_VERIFICATION which selects SYSTEM_TRUSTED_KEYRING
      that need extract-cert tool. extract-cert needs some openssl
      headers to be installed on the build machine.
      
      Instead of adding missing "depends on CFG80211", it's
      easier to use a 'if' block around all options related
      to CFG80211, so do that.
      
      Fixes: 90a53e44 ("cfg80211: implement regdb signature checking")
      Signed-off-by: NRomain Naour <romain.naour@gmail.com>
      [touch up commit message a bit]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      a7887236
  4. 20 2月, 2018 1 次提交
    • K
      net: Convert cfg80211_pernet_ops · 9c537ca1
      Kirill Tkhai 提交于
      This patch finishes converting pernet_operations
      registered in net/wireless directory.
      
      These pernet_operations have only exit method,
      which moves devices to init_net. This action
      is not pernet_operations-specific, and function
      cfg80211_switch_netns() may be called all time
      during the system life. All necessary protection
      against concurrent cfg80211_pernet_exit() is made
      by rtnl_lock(). So, cfg80211_pernet_ops is able
      to be marked as async.
      Signed-off-by: NKirill Tkhai <ktkhai@virtuozzo.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9c537ca1
  5. 19 2月, 2018 4 次提交
  6. 13 2月, 2018 1 次提交
  7. 31 1月, 2018 6 次提交
  8. 25 1月, 2018 1 次提交
  9. 19 1月, 2018 1 次提交
  10. 17 1月, 2018 1 次提交
    • A
      net: delete /proc THIS_MODULE references · 96890d62
      Alexey Dobriyan 提交于
      /proc has been ignoring struct file_operations::owner field for 10 years.
      Specifically, it started with commit 786d7e16
      ("Fix rmmod/read/write races in /proc entries"). Notice the chunk where
      inode->i_fop is initialized with proxy struct file_operations for
      regular files:
      
      	-               if (de->proc_fops)
      	-                       inode->i_fop = de->proc_fops;
      	+               if (de->proc_fops) {
      	+                       if (S_ISREG(inode->i_mode))
      	+                               inode->i_fop = &proc_reg_file_ops;
      	+                       else
      	+                               inode->i_fop = de->proc_fops;
      	+               }
      
      VFS stopped pinning module at this point.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      96890d62
  11. 15 1月, 2018 4 次提交
  12. 04 1月, 2018 1 次提交
  13. 19 12月, 2017 2 次提交