commit | 8ec609d8b561468691b60347ff594bd443ea58c0 | [log] [tgz] |
---|---|---|
author | Pravin B Shelar <pshelar@nicira.com> | Tue Nov 11 15:55:16 2014 -0800 |
committer | Pravin B Shelar <pshelar@nicira.com> | Fri Nov 14 15:13:26 2014 -0800 |
tree | f84c0baf1777f642408afa9df69bb69a34cb8d5d | |
parent | 19e7a3df7261c9b7ebced8163c383712d5b6ac6b [diff] |
openvswitch: Convert dp rcu read operation to locked operations dp read operations depends on ovs_dp_cmd_fill_info(). This API needs to looup vport to find dp name, but vport lookup can fail. Therefore to keep vport reference alive we need to take ovs lock. Introduced by commit 6093ae9abac1 ("openvswitch: Minimize dp and vport critical sections"). Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Andy Zhou <azhou@nicira.com>