[ovs-dev] [PATCH v2] dpif-netdev: Fix unsafe access to pmd polling lists.

Aaron Conole aconole at redhat.com
Tue May 28 12:28:24 UTC 2019


Ilya Maximets <i.maximets at samsung.com> writes:

> All accesses to 'pmd->poll_list' should be guarded by
> 'pmd->port_mutex'. Additionally fixed inappropriate usage
> of 'HMAP_FOR_EACH_SAFE' (hmap doesn't change in a loop)
> and dropped not needed local variable 'proc_cycles'.
>
> CC: Nitin Katiyar <nitin.katiyar at ericsson.com>
> Fixes: 5bf84282482a ("Adding support for PMD auto load balancing")
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
> Acked-by: Kevin Traynor <ktraynor at redhat.com>
> ---

Acked-by: Aaron Conole <aconole at redhat.com>


More information about the dev mailing list