1. 21 9月, 2016 6 次提交
  2. 20 9月, 2016 4 次提交
  3. 19 9月, 2016 2 次提交
  4. 17 9月, 2016 3 次提交
    • I
      bna: fix crash in bnad_get_strings() · 37dd3482
      Ivan Vecera 提交于
      Commit 6e7333d3 "net: add rx_nohandler stat counter" added the new entry
      rx_nohandler into struct rtnl_link_stats64. Unfortunately the bna
      driver foolishly depends on the structure. It uses part of it for
      ethtool statistics and it's not bad but the driver assumes its size
      is constant as it defines string for each existing entry. The problem
      occurs when the structure is extended because you need to modify bna
      driver as well. If not any attempt to retrieve ethtool statistics results
      in crash in bnad_get_strings().
      The patch changes BNAD_ETHTOOL_STATS_NUM so it counts real number of
      strings in the array and also removes rtnl_link_stats64 entries that
      are not used in output and are always zero.
      
      Fixes: 6e7333d3 "net: add rx_nohandler stat counter"
      Signed-off-by: NIvan Vecera <ivecera@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      37dd3482
    • I
      bna: add missing per queue ethtool stat · 2835d2d9
      Ivan Vecera 提交于
      Commit ba5ca784 "bna: check for dma mapping errors" added besides other
      things a statistic that counts number of DMA buffer mapping failures
      per each Rx queue. This counter is not included in ethtool stats output.
      
      Fixes: ba5ca784 "bna: check for dma mapping errors"
      Signed-off-by: NIvan Vecera <ivecera@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2835d2d9
    • F
      xen-netback: fix error handling on netback_probe() · cce94483
      Filipe Manco 提交于
      In case of error during netback_probe() (e.g. an entry missing on the
      xenstore) netback_remove() is called on the new device, which will set
      the device backend state to XenbusStateClosed by calling
      set_backend_state(). However, the backend state wasn't initialized by
      netback_probe() at this point, which will cause and invalid transaction
      and set_backend_state() to BUG().
      
      Initialize the backend state at the beginning of netback_probe() to
      XenbusStateInitialising, and create two new valid state transitions on
      set_backend_state(), from XenbusStateInitialising to XenbusStateClosed,
      and from XenbusStateInitialising to XenbusStateInitWait.
      Signed-off-by: NFilipe Manco <filipe.manco@neclab.eu>
      Acked-by: NWei Liu <wei.liu2@citrix.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cce94483
  5. 16 9月, 2016 5 次提交
  6. 15 9月, 2016 1 次提交
    • B
      iwlwifi: mvm: update TX queue before making a copy of the skb · 54c5ef2e
      Beni Lev 提交于
      Off-channel action frames (such as ANQP frames) must be sent either on
      the AUX queue or on the offchannel queue, otherwise the firmware will
      cause a SYSASSERT.
      
      In the current implementation, the queue to be used is correctly set in
      the original skb, but this is done after it is copied.  Thus the copy
      remains with the original, incorrect queue.
      
      Fix this by setting the queue in the original skb before copying it.
      
      Fixes: commit 5c08b0f5 ("iwlwifi: mvm: don't override the rate with the AMSDU len")
      Cc: stable@vger.kernel.org # v4.6+
      Signed-off-by: NBeni Lev <beni.lev@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      54c5ef2e
  7. 14 9月, 2016 1 次提交
  8. 13 9月, 2016 1 次提交
    • B
      bnx2: Reset device during driver initialization · 3e1be7ad
      Baoquan He 提交于
      When system enters into kdump kernel because of kernel panic, it won't
      shutdown devices. On-flight DMA will continue transferring data until
      device driver initializes. All devices are supposed to reset during
      driver initialization. And this property is used to fix the kdump
      failure in system with intel iommu. Other systems with hardware iommu
      should be similar. Please check commit 091d42e4 ("iommu/vt-d: Copy
      translation tables from old kernel") and those commits around.
      
      But bnx2 driver doesn't reset device during driver initialization. The
      device resetting is deferred to net device up stage. This will cause
      hardware iommu handling failure on bnx2 device. And its resetting relies
      on firmware. So in this patch move the firmware requesting code to earlier
      bnx2_init_one(), then next call bnx2_reset_chip to reset device.
      Signed-off-by: NBaoquan He <bhe@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3e1be7ad
  9. 12 9月, 2016 4 次提交
  10. 11 9月, 2016 1 次提交
  11. 10 9月, 2016 4 次提交
  12. 09 9月, 2016 7 次提交
  13. 07 9月, 2016 1 次提交