openvswitch: Refactor get_dp() function into multiple access APIs.
openvswitch: Refactor get_dp() function into multiple access APIs.

Avoid recursive read_rcu_lock() by using the lighter weight
get_dp_rcu() API. Add proper locking assertions to get_dp().

Signed-off-by: Andy Zhou <eba59be6f07811efcfb9b9013eddeb3628e492b2@nicira.com>
Signed-off-by: Pravin B Shelar <95dcc1879f3489c0d5163907cdd946775296b2dd@nicira.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs