** Changed in: linux-bluefield (Ubuntu Focal)
       Status: In Progress => Fix Committed

-- 
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/2016039

Title:
  mlxbf-tmfifo: fix potential race

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

Bug description:
  SRU Justification:

  [Impact]
  This change is needed to avoid potential race of accessing the 'vq' pointer

  [Fix]
  The fix adds memory barrier for the is_ready flag and the 'vq' pointer access 
in mlxbf_tmfifo_virtio_find_vqs(), so updated in vq will be visible before 
accessing this pointer.

  [Test Case]
  Same functionality and testing as on BlueField-1/2/2. No functionality change.

  [Regression Potential]
  Same behavior from user perspective.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to