Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dpif-netdev: Hold global port mutex while calling offload API.
We changed datapath port lookup to netdev-offload API usage, but forgot that port mutex was there not only to protect datapath port hash map. It was there also as a workaround solution for complete unsafety of netdev-offload-dpdk functions. Turning it back to fix the behaviour and adding a comment to prevent removing it in the future unless netdev-offload-dpdk fixed. For the thread safety notice see the top of netdev-offload-dpdk.c. Fixes: 3011580 ("dpif-netdev: Use netdev-offload API for port lookup while offloading") Signed-off-by: Ilya Maximets <i.maximets@ovn.org> Acked-by: Eli Britstein <elibr@mellanox.com>
- Loading branch information