Skip to content

Commit

Permalink
datapath: Simplify datapath locking.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Jesse Gross <[email protected]>
  • Loading branch information
Pravin B Shelar committed Apr 12, 2013
1 parent 55a6ee4 commit cd2a59e
Show file tree
Hide file tree
Showing 13 changed files with 273 additions and 370 deletions.
2 changes: 0 additions & 2 deletions datapath/Modules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ openvswitch_sources = \
datapath.c \
dp_notify.c \
flow.c \
genl_exec.c \
tunnel.c \
vlan.c \
vport.c \
Expand All @@ -27,7 +26,6 @@ openvswitch_headers = \
compat.h \
datapath.h \
flow.h \
genl_exec.h \
tunnel.h \
vlan.h \
vport.h \
Expand Down
Loading

0 comments on commit cd2a59e

Please sign in to comment.