]> git.baikalelectronics.ru Git - kernel.git/commit
net: openvswitch: use hlist_for_each_entry_rcu instead of hlist_for_each_entry
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Wed, 25 Mar 2020 20:27:24 +0000 (04:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Apr 2020 00:48:12 +0000 (17:48 -0700)
commit20c032970aa8ed1acc5bc951bf09f699869fb723
treecf65449b07bddf5df49abf0f03648de830d75ad0
parent23428cd99a2f1d2f6306c2c266932234d10865e8
net: openvswitch: use hlist_for_each_entry_rcu instead of hlist_for_each_entry

The struct sw_flow is protected by RCU, when traversing them,
use hlist_for_each_entry_rcu.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Tested-by: Greg Rose <gvrose8192@gmail.com>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow_table.c