1. 13 9月, 2014 6 次提交
    • D
      Merge tag 'master-2014-09-11' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless · cffc6c4c
      David S. Miller 提交于
      John W. Linville says:
      
      ====================
      pull request: wireless 2014-09-11
      
      Please pull this batch of fixes intended for the 3.17 stream:
      
      For the mac80211 bits, Johannes says:
      
      "Two more fixes for mac80211 - one of them addresses a long-standing
      issue that we only found when using vendor events more frequently;
      the other addresses some bad information being reported in userspace
      that people were starting to actually look at."
      
      For the iwlwifi bits, Emmanuel says:
      
      "I re-enable scheduled scan on firmware that contain the fix for
      the bug that Linus reported.  A few trivial fixes: endianity issues,
      the same DTIM period fix that I did in mac80211.  Eyal fixes a few
      issues we identified with EAPOL, we now send them just as if they were
      management frames, this solves interrop issues.  Johannes has another
      set of trivial fixes, while Luca fixes the way we configure the filters
      in the firmware. Last but not least, a new device is added by Oren."
      
      Emmanuel was traveling, resulting in his pull to be a bit larger than
      I would have liked to see at this point.  FWIW, I have asked Emmanuel
      to be much more strict for any more pull requests in this cycle.
      
      In addition to the above, Sujith Manoharan reverts an earlier ath9k
      patch.  The earlier change was found to allow for the device to sleep
      too long and miss beacons.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cffc6c4c
    • D
      Merge tag 'linux-can-fixes-for-3.17-20140911' of git://gitorious.org/linux-can/linux-can · a7f8289d
      David S. Miller 提交于
      Marc Kleine-Budde says:
      
      ====================
      pull-request: can 2014-09-11
      
      this is a pull request for the current release cycle of a single patch.
      
      The patch by David Jander fixes a scheduling while atomic problem in the
      flexcan driver, that was introduced by me in v3.14-rc6.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a7f8289d
    • S
      ipv6: clean up anycast when an interface is destroyed · 381f4dca
      Sabrina Dubroca 提交于
      If we try to rmmod the driver for an interface while sockets with
      setsockopt(JOIN_ANYCAST) are alive, some refcounts aren't cleaned up
      and we get stuck on:
      
        unregister_netdevice: waiting for ens3 to become free. Usage count = 1
      
      If we LEAVE_ANYCAST/close everything before rmmod'ing, there is no
      problem.
      
      We need to perform a cleanup similar to the one for multicast in
      addrconf_ifdown(how == 1).
      Signed-off-by: NSabrina Dubroca <sd@queasysnail.net>
      Acked-by: NHannes Frederic Sowa <hannes@stressinduktion.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      381f4dca
    • D
      Merge branch 'arc_emac' · dcbc0054
      David S. Miller 提交于
      Beniamino Galvani says:
      
      ====================
      net: arc_emac: fix tx issues
      
      the patches below solve some issues found in the tx ring reclaim
      strategy currently implemented in the arc_emac driver.
      
      Without these patches a simple outgoing UDP flow blocks almost
      immediately with the socket send buffer full, until some new rx
      packets trigger a clean of the tx ring.
      
      Everything seems to work fine on a Radxa Rock with this fix applied.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dcbc0054
    • B
      net: arc_emac: prevent reuse of unreclaimed tx descriptors · 74dd40bc
      Beniamino Galvani 提交于
      This patch changes the logic in tx path to ensure that tx descriptors
      are reused for transmission only after they have been reclaimed by
      arc_emac_tx_clean().
      Signed-off-by: NBeniamino Galvani <b.galvani@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      74dd40bc
    • B
      net: arc_emac: enable tx interrupts · 7ce7679d
      Beniamino Galvani 提交于
      In the current implementation the cleaning of tx ring is done by the
      NAPI poll handler, which is scheduled after rx interrupts. Thus, in
      absence of received packets the reclaim of used tx buffers is never
      executed, blocking further transmission.
      
      This can be easily reproduced starting the transmission of a UDP flow
      with iperf, which blocks almost immediately because skbs are not
      returned to the stack and the socket send buffer becomes full.
      
      The patch enables tx interrupts so that the tx reclaim is scheduled
      after completed transmissions.
      Signed-off-by: NBeniamino Galvani <b.galvani@gmail.com>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7ce7679d
  2. 12 9月, 2014 1 次提交
    • S
      Revert "ath9k: Calculate sleep duration" · ae0fd635
      Sujith Manoharan 提交于
      This reverts commit 09ebb810.
      
      ath9k_hw_set_sta_beacon_timers() configures AR_TIM_PERIOD with
      the beacon interval. Before this commit, the sleepduration was
      never greater than the beacon interval. But now, the behavior
      has changed. For example, with an AP that uses a beacon interval of 100:
      
      ath: phy9: next beacon 61128704
      ath: phy9: beacon period 204800
      ath: phy9: DTIM period 204800
      
      If the sleepduration is calculated based on the listen time, then
      the bmiss threshold should also be changed since the HW would
      be in sleep state for a longer time, but that is not done currently.
      
      To avoid configuring a higher beacon interval based on the sleepduration,
      revert to the original behavior. Power consumption is not a
      problem since PS is disabled in ath9k anyway.
      
      Cc: stable@vger.kernel.org
      Cc: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ae0fd635
  3. 11 9月, 2014 9 次提交
  4. 10 9月, 2014 5 次提交
  5. 09 9月, 2014 9 次提交
  6. 08 9月, 2014 10 次提交