Thanks for the review. Both points are valid.
I have just posted another version of the re-factoring that should address
the issues.
On Wed, Jul 16, 2014 at 9:30 PM, Pravin Shelar wrote:
> On Tue, Jul 15, 2014 at 2:56 PM, Andy Zhou wrote:
>> The added get_dp_rcu() requires its caller to hold rc
On Tue, Jul 15, 2014 at 2:56 PM, Andy Zhou wrote:
> The added get_dp_rcu() requires its caller to hold rcu lock.
> get_dp() now requires caller to hold ovs lock.
>
> Sepearate APIs makes it clear on the intended use and the requirements
> of its caller.
>
> Signed-off-by: Andy Zhou
> ---
> datap
The added get_dp_rcu() requires its caller to hold rcu lock.
get_dp() now requires caller to hold ovs lock.
Sepearate APIs makes it clear on the intended use and the requirements
of its caller.
Signed-off-by: Andy Zhou
---
datapath/datapath.c | 23 +--
1 file changed, 17 ins