1. 22 7月, 2021 3 次提交
  2. 03 7月, 2021 1 次提交
    • L
      nfp: flower-ct: remove callback delete deadlock · 7cc93d88
      Louis Peens 提交于
      The current location of the callback delete can lead to a race
      condition where deleting the callback requires a write_lock on
      the nf_table, but at the same time another thread from netfilter
      could have taken a read lock on the table before trying to offload.
      Since the driver is taking a rtnl_lock this can lead into a deadlock
      situation, where the netfilter offload will wait for the cls_flower
      rtnl_lock to be released, but this cannot happen since this is
      waiting for the nf_table read_lock to be released before it can
      delete the callback.
      
      Solve this by completely removing the nf_flow_table_offload_del_cb
      call, as this will now be cleaned up by act_ct itself when cleaning
      up the specific nf_table.
      
      Fixes: 62268e78 ("nfp: flower-ct: add nft callback stubs")
      Signed-off-by: NLouis Peens <louis.peens@corigine.com>
      Signed-off-by: NYinjun Zhang <yinjun.zhang@corigine.com>
      Signed-off-by: NSimon Horman <simon.horman@corigine.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7cc93d88
  3. 25 6月, 2021 1 次提交
  4. 22 6月, 2021 1 次提交
  5. 17 6月, 2021 9 次提交
  6. 10 6月, 2021 1 次提交
  7. 03 6月, 2021 8 次提交
  8. 18 5月, 2021 2 次提交
  9. 22 4月, 2021 1 次提交
  10. 07 4月, 2021 1 次提交
  11. 31 3月, 2021 1 次提交
  12. 30 3月, 2021 1 次提交
  13. 26 3月, 2021 1 次提交
  14. 18 3月, 2021 1 次提交
  15. 17 3月, 2021 3 次提交
  16. 14 3月, 2021 1 次提交
  17. 15 1月, 2021 1 次提交
  18. 09 1月, 2021 2 次提交
  19. 08 1月, 2021 1 次提交