1. 23 8月, 2011 2 次提交
  2. 13 8月, 2011 1 次提交
  3. 12 8月, 2011 1 次提交
  4. 11 8月, 2011 2 次提交
  5. 10 8月, 2011 2 次提交
  6. 09 8月, 2011 4 次提交
  7. 28 7月, 2011 1 次提交
    • N
      net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared · 550fd08c
      Neil Horman 提交于
      After the last patch, We are left in a state in which only drivers calling
      ether_setup have IFF_TX_SKB_SHARING set (we assume that drivers touching real
      hardware call ether_setup for their net_devices and don't hold any state in
      their skbs.  There are a handful of drivers that violate this assumption of
      course, and need to be fixed up.  This patch identifies those drivers, and marks
      them as not being able to support the safe transmission of skbs by clearning the
      IFF_TX_SKB_SHARING flag in priv_flags
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      CC: Karsten Keil <isdn@linux-pingi.de>
      CC: "David S. Miller" <davem@davemloft.net>
      CC: Jay Vosburgh <fubar@us.ibm.com>
      CC: Andy Gospodarek <andy@greyhouse.net>
      CC: Patrick McHardy <kaber@trash.net>
      CC: Krzysztof Halasa <khc@pm.waw.pl>
      CC: "John W. Linville" <linville@tuxdriver.com>
      CC: Greg Kroah-Hartman <gregkh@suse.de>
      CC: Marcel Holtmann <marcel@holtmann.org>
      CC: Johannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      550fd08c
  8. 21 7月, 2011 3 次提交
    • P
      treewide: fix potentially dangerous trailing ';' in #defined values/expressions · 497888cf
      Phil Carmody 提交于
      All these are instances of
        #define NAME value;
      or
        #define NAME(params_opt) value;
      
      These of course fail to build when used in contexts like
        if(foo $OP NAME)
        while(bar $OP NAME)
      and may silently generate the wrong code in contexts such as
        foo = NAME + 1;    /* foo = value; + 1; */
        bar = NAME - 1;    /* bar = value; - 1; */
        baz = NAME & quux; /* baz = value; & quux; */
      
      Reported on comp.lang.c,
      Message-ID: <ab0d55fe-25e5-482b-811e-c475aa6065c3@c29g2000yqd.googlegroups.com>
      Initial analysis of the dangers provided by Keith Thompson in that thread.
      
      There are many more instances of more complicated macros having unnecessary
      trailing semicolons, but this pile seems to be all of the cases of simple
      values suffering from the problem. (Thus things that are likely to be found
      in one of the contexts above, more complicated ones aren't.)
      Signed-off-by: NPhil Carmody <ext-phil.2.carmody@nokia.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      497888cf
    • E
      mac80211: check sta_info_get() return value · 0a557ed3
      Eliad Peller 提交于
      ieee80211_stop_rx_ba_session() was calling sta_info_get()
      without rcu locking, and the return value was not
      checked.
      This resulted in the following panic:
      
      [<bf05726c>] (ieee80211_stop_rx_ba_session+0x0/0x60 [mac80211])
      [<bf0abd94>] (wl1271_event_handle+0x0/0xdc8 [wl12xx])
      [<bf0a7308>] (wl1271_irq+0x0/0x4a0 [wl12xx])
      [<c00c40a8>] (irq_thread+0x0/0x254)
      [<c00a7398>] (kthread+0x0/0x8c)
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Reviewed-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      0a557ed3
    • J
      mac80211: sync driver before TX · b2abb6e2
      Johannes Berg 提交于
      In P2P client mode, the GO (AP) to connect to might
      have periods of time where it is not available due
      to powersave. To allow the driver to sync with it
      and send frames to the GO only when it is available
      add a new callback tx_sync (and the corresponding
      finish_tx_sync). These callbacks can sleep unlike
      the actual TX.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b2abb6e2
  9. 20 7月, 2011 1 次提交
  10. 19 7月, 2011 1 次提交
  11. 16 7月, 2011 3 次提交
  12. 14 7月, 2011 2 次提交
  13. 12 7月, 2011 2 次提交
  14. 09 7月, 2011 1 次提交
  15. 08 7月, 2011 10 次提交
  16. 07 7月, 2011 2 次提交
  17. 06 7月, 2011 2 次提交