This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
focal' to 'verification-done-focal'. If the problem still exists, change
the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/1934822

Title:
  Possible memory leak of flow_block_cb

Status in linux-bluefield package in Ubuntu:
  Invalid
Status in linux-bluefield source package in Focal:
  Fix Committed

Bug description:
  * Explain the bug(s)

  When cleaning up the nf_table in tcf_ct_flow_table_cleanup_work
  there is no guarantee that the callback list, added to by
  nf_flow_table_offload_add_cb, is empty. This means that it is
  possible that the flow_block_cb memory allocated will be lost.

  
  * brief explanation of fixes

  Fix this by iterating the list and freeing the flow_block_cb entries
  before freeing the nf_table entry (via freeing ct_ft).

  * How to test

  With mlx5 driver registers flow block callback, cleaning up rule with action 
ct
  frees the ct_ft but with memory leak.

  * What it could break.

  Nothing breaks, memory leak is fixed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1934822/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to