datapath: Simplify datapath locking.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 12 Apr 2013 22:57:09 +0000 (15:57 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 12 Apr 2013 22:57:09 +0000 (15:57 -0700)
Currently OVS uses combination of genl and rtnl lock to protect
datapath state.  This was done due to networking stack locking.
But this has complicated locking and there are few lock ordering
issues with new tunneling protocols.
Following patch simplifies locking by introducing new ovs mutex
and now this lock is used to protect entire ovs state.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>

No differences found