'sorted_poll_list()' uses the 'pmd->poll_list' that should be guarded by 'pmd->port_mutex'.
Signed-off-by: Ilya Maximets <i.maxim...@samsung.com> --- lib/dpif-netdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 914b2bb8b..34f2d2b07 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -1109,6 +1109,7 @@ compare_poll_list(const void *a_, const void *b_) static void sorted_poll_list(struct dp_netdev_pmd_thread *pmd, struct rxq_poll **list, size_t *n) + OVS_REQUIRES(pmd->port_mutex) { struct rxq_poll *ret, *poll; size_t i; -- 2.17.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev