1. 06 10月, 2014 1 次提交
  2. 02 10月, 2014 3 次提交
  3. 27 9月, 2014 1 次提交
  4. 23 9月, 2014 3 次提交
  5. 20 9月, 2014 5 次提交
  6. 13 9月, 2014 1 次提交
  7. 10 9月, 2014 1 次提交
  8. 09 9月, 2014 2 次提交
    • F
      net: bcmgenet: check harder for out of memory conditions · b629be5c
      Florian Fainelli 提交于
      There is a potential case where we might be failing to refill a
      control block, leaving it with both a NULL skb pointer *and* a NULL
      dma_unmap_addr.
      
      The way we process incoming packets, by first calling
      dma_unmap_single(), and then only checking for a potential NULL skb can
      lead to situations where do pass a NULL dma_unmap_addr() to
      dma_unmap_single(), resulting in an oops.
      
      Fix this my moving the NULL skb check earlier, since no backing skb
      also means no corresponding DMA mapping for this packet.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b629be5c
    • F
      net: systemport: check harder for out of memory conditions · fe24ba08
      Florian Fainelli 提交于
      There is a potential case where we might be failing to refill a
      control block, leaving it with both a NULL skb pointer *and* a NULL
      dma_unmap_addr.
      
      The way we process incoming packets, by first calling
      dma_unmap_single(), and then only checking for a potential NULL skb can
      lead to situations where do pass a NULL dma_unmap_addr() to
      dma_unmap_single(), resulting in an oops.
      
      Fix this my moving the NULL skb check earlier, since no backing skb
      also means no corresponding DMA mapping for this packet.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fe24ba08
  9. 06 9月, 2014 2 次提交
  10. 05 9月, 2014 1 次提交
    • F
      net: systemport: update UMAC_CMD only when link is detected · 4a804c01
      Florian Fainelli 提交于
      When we bring the interface down, phy_stop() will schedule the PHY
      state machine to call our link adjustment callback. By the time we do so,
      we may have clock gated off the SYSTEMPORT hardware block, and this will
      cause bus errors to happen in bcm_sysport_adj_link():
      
      Make sure that we only touch the UMAC_CMD register when there is an
      actual link. This is safe to do for two reasons:
      
      - updating the Ethernet MAC registers only make sense when a physical
        link is present
      - the PHY library state machine first set phydev->link = 0 before
        invoking phydev->adjust_link in the PHY_HALTED case
      
      This is a similar fix to the GENET one:
      c677ba8b ("net: bcmgenet: update
      UMAC_CMD only when link is detected").
      
      Fixes: 80105bef ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4a804c01
  11. 03 9月, 2014 2 次提交
  12. 02 9月, 2014 3 次提交
  13. 30 8月, 2014 1 次提交
  14. 28 8月, 2014 1 次提交
  15. 26 8月, 2014 7 次提交
  16. 23 8月, 2014 6 次提交