[ovs-git] [openvswitch/ovs] eef853: dpif-netdev: Fix unsafe access to pmd polling lists.
Ilya Maximets
noreply at github.com
Wed May 29 12:27:46 UTC 2019
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: eef85380810ab428a193f4874477a6dde5999ab7
https://github.com/openvswitch/ovs/commit/eef85380810ab428a193f4874477a6dde5999ab7
Author: Ilya Maximets <i.maximets at samsung.com>
Date: 2019-05-29 (Wed, 29 May 2019)
Changed paths:
M lib/dpif-netdev.c
Log Message:
-----------
dpif-netdev: Fix unsafe access to pmd polling lists.
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 git
mailing list