1. 26 7月, 2012 1 次提交
  2. 12 7月, 2012 1 次提交
  3. 25 6月, 2012 1 次提交
  4. 06 6月, 2012 5 次提交
  5. 03 5月, 2012 1 次提交
    • E
      iwlwifi: fix skb truesize underestimation · ed90542b
      Eric Dumazet 提交于
      By default, iwlwifi uses order-1 pages (8 KB) to store incoming frames,
      but doesnt say so in skb->truesize.
      
      This makes very possible to exhaust kernel memory since these skb evade
      normal socket memory accounting.
      
      As struct ieee80211_hdr is going to be pulled before calling IP stack,
      there is no need to use dev_alloc_skb() to reserve NET_SKB_PAD bytes.
      alloc_skb() is ok in this driver, allowing more tailroom.
      
      Pull beginning of frame in skb header, in the hope we can reuse order-1
      pages in the driver immediately for small frames and reduce their
      truesize to the minimum (linear skbs)
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Cc: Wey-Yi Guy <wey-yi.w.guy@intel.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Neal Cardwell <ncardwell@google.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ed90542b
  6. 24 4月, 2012 3 次提交
  7. 18 4月, 2012 3 次提交
  8. 17 4月, 2012 1 次提交
  9. 13 4月, 2012 3 次提交
  10. 10 4月, 2012 3 次提交
  11. 13 3月, 2012 3 次提交
  12. 10 3月, 2012 2 次提交
  13. 09 3月, 2012 3 次提交
  14. 08 3月, 2012 6 次提交
  15. 07 3月, 2012 4 次提交