1. 12 Sep, 2014 6 commits
    • David S. Miller's avatar
      Merge tag 'master-2014-09-11' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless · cffc6c4c
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      cffc6c4c
    • David S. Miller's avatar
      Merge tag 'linux-can-fixes-for-3.17-20140911' of git://gitorious.org/linux-can/linux-can · a7f8289d
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      a7f8289d
    • Sabrina Dubroca's avatar
      ipv6: clean up anycast when an interface is destroyed · 381f4dca
      Sabrina Dubroca authored
      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: default avatarSabrina Dubroca <sd@queasysnail.net>
      Acked-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      381f4dca
    • David S. Miller's avatar
      Merge branch 'arc_emac' · dcbc0054
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      dcbc0054
    • Beniamino Galvani's avatar
      net: arc_emac: prevent reuse of unreclaimed tx descriptors · 74dd40bc
      Beniamino Galvani authored
      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: default avatarBeniamino Galvani <b.galvani@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      74dd40bc
    • Beniamino Galvani's avatar
      net: arc_emac: enable tx interrupts · 7ce7679d
      Beniamino Galvani authored
      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: default avatarBeniamino Galvani <b.galvani@gmail.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7ce7679d
  2. 11 Sep, 2014 2 commits
    • Sujith Manoharan's avatar
      Revert "ath9k: Calculate sleep duration" · ae0fd635
      Sujith Manoharan authored
      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: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      ae0fd635
    • David Jander's avatar
      can: flexcan: avoid calling usleep_range from interrupt context · 8badd65e
      David Jander authored
      Apparently can_restart() runs from a (timer-) interrupt and can call
      flexcan_chip_[en|dis]able(), so avoid using usleep_range()
      Signed-off-by: default avatarDavid Jander <david@protonic.nl>
      Cc: linux-stable <stable@vger.kernel.org>
      Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
      8badd65e
  3. 10 Sep, 2014 11 commits
  4. 09 Sep, 2014 2 commits
  5. 08 Sep, 2014 19 commits