[ovs-git] [openvswitch/ovs] d63749: datapath: Convert dp rcu read operation to locked ...
GitHub
noreply at github.com
Tue Nov 4 21:54:25 UTC 2014
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: d637497c0d82a612ef6abf5d1c464d5dfd0a0d1c
https://github.com/openvswitch/ovs/commit/d637497c0d82a612ef6abf5d1c464d5dfd0a0d1c
Author: Pravin B Shelar <pshelar at nicira.com>
Date: 2014-11-04 (Tue, 04 Nov 2014)
Changed paths:
M datapath/datapath.c
Log Message:
-----------
datapath: 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.
Found by code inspection.
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>
More information about the git
mailing list