1. 03 11月, 2012 2 次提交
  2. 01 11月, 2012 3 次提交
  3. 29 10月, 2012 2 次提交
  4. 27 10月, 2012 5 次提交
  5. 26 10月, 2012 1 次提交
  6. 25 10月, 2012 3 次提交
  7. 24 10月, 2012 5 次提交
  8. 23 10月, 2012 3 次提交
  9. 22 10月, 2012 1 次提交
  10. 19 10月, 2012 6 次提交
  11. 18 10月, 2012 3 次提交
    • F
      cfg80211: fix initialization of chan->max_reg_power · 279f0f55
      Felix Fietkau 提交于
      A few places touch chan->max_power based on updated tx power rules, but
      forget to do the same to chan->max_reg_power.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      279f0f55
    • F
      cfg80211: fix antenna gain handling · c4a9fafc
      Felix Fietkau 提交于
      No driver initializes chan->max_antenna_gain to something sensible, and
      the only place where it is being used right now is inside ath9k. This
      leads to ath9k potentially using less tx power than it can use, which can
      decrease performance/range in some rare cases.
      
      Rather than going through every single driver, this patch initializes
      chan->orig_mag in wiphy_register(), ignoring whatever value the driver
      left in there. If a driver for some reason wishes to limit it independent
      from regulatory rulesets, it can do so internally.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Cc: stable@vger.kernel.org
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      c4a9fafc
    • S
      SUNRPC: Prevent kernel stack corruption on long values of flush · 212ba906
      Sasha Levin 提交于
      The buffer size in read_flush() is too small for the longest possible values
      for it. This can lead to a kernel stack corruption:
      
      [   43.047329] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: ffffffff833e64b4
      [   43.047329]
      [   43.049030] Pid: 6015, comm: trinity-child18 Tainted: G        W    3.5.0-rc7-next-20120716-sasha #221
      [   43.050038] Call Trace:
      [   43.050435]  [<ffffffff836c60c2>] panic+0xcd/0x1f4
      [   43.050931]  [<ffffffff833e64b4>] ? read_flush.isra.7+0xe4/0x100
      [   43.051602]  [<ffffffff810e94e6>] __stack_chk_fail+0x16/0x20
      [   43.052206]  [<ffffffff833e64b4>] read_flush.isra.7+0xe4/0x100
      [   43.052951]  [<ffffffff833e6500>] ? read_flush_pipefs+0x30/0x30
      [   43.053594]  [<ffffffff833e652c>] read_flush_procfs+0x2c/0x30
      [   43.053596]  [<ffffffff812b9a8c>] proc_reg_read+0x9c/0xd0
      [   43.053596]  [<ffffffff812b99f0>] ? proc_reg_write+0xd0/0xd0
      [   43.053596]  [<ffffffff81250d5b>] do_loop_readv_writev+0x4b/0x90
      [   43.053596]  [<ffffffff81250fd6>] do_readv_writev+0xf6/0x1d0
      [   43.053596]  [<ffffffff812510ee>] vfs_readv+0x3e/0x60
      [   43.053596]  [<ffffffff812511b8>] sys_readv+0x48/0xb0
      [   43.053596]  [<ffffffff8378167d>] system_call_fastpath+0x1a/0x1f
      Signed-off-by: NSasha Levin <levinsasha928@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      212ba906
  12. 17 10月, 2012 5 次提交
  13. 16 10月, 2012 1 次提交