1. 26 7月, 2023 2 次提交
  2. 27 12月, 2021 1 次提交
  3. 11 11月, 2021 2 次提交
  4. 19 10月, 2021 1 次提交
  5. 26 9月, 2021 1 次提交
  6. 09 4月, 2021 1 次提交
  7. 27 1月, 2021 2 次提交
  8. 17 11月, 2020 1 次提交
  9. 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
  10. 30 9月, 2020 1 次提交
  11. 29 9月, 2020 1 次提交
  12. 21 9月, 2020 3 次提交
  13. 11 9月, 2020 3 次提交
  14. 24 8月, 2020 1 次提交
  15. 30 7月, 2020 1 次提交
  16. 26 7月, 2020 1 次提交
  17. 20 7月, 2020 5 次提交
  18. 01 7月, 2020 1 次提交
  19. 27 6月, 2020 1 次提交
  20. 25 6月, 2020 2 次提交
  21. 19 6月, 2020 3 次提交
  22. 10 6月, 2020 1 次提交
  23. 06 6月, 2020 1 次提交
  24. 02 6月, 2020 1 次提交
  25. 26 5月, 2020 1 次提交
  26. 23 5月, 2020 1 次提交