1. 01 11月, 2020 3 次提交
  2. 05 10月, 2020 1 次提交
    • T
      net: mvneta: fix double free of txq->buf · f4544e53
      Tom Rix 提交于
      clang static analysis reports this problem:
      
      drivers/net/ethernet/marvell/mvneta.c:3465:2: warning:
        Attempt to free released memory
              kfree(txq->buf);
              ^~~~~~~~~~~~~~~
      
      When mvneta_txq_sw_init() fails to alloc txq->tso_hdrs,
      it frees without poisoning txq->buf.  The error is caught
      in the mvneta_setup_txqs() caller which handles the error
      by cleaning up all of the txqs with a call to
      mvneta_txq_sw_deinit which also frees txq->buf.
      
      Since mvneta_txq_sw_deinit is a general cleaner, all of the
      partial cleaning in mvneta_txq_sw_deinit()'s error handling
      is not needed.
      
      Fixes: 2adb719d ("net: mvneta: Implement software TSO")
      Signed-off-by: NTom Rix <trix@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f4544e53
  3. 01 10月, 2020 4 次提交
  4. 30 9月, 2020 9 次提交
  5. 29 9月, 2020 1 次提交
  6. 28 9月, 2020 1 次提交
  7. 24 9月, 2020 4 次提交
  8. 21 9月, 2020 3 次提交
  9. 18 9月, 2020 5 次提交
  10. 15 9月, 2020 2 次提交
  11. 14 9月, 2020 1 次提交
  12. 12 9月, 2020 1 次提交
  13. 11 9月, 2020 4 次提交
  14. 10 9月, 2020 1 次提交