ofproto: Drop 'expirable_mutex' in favor of new global 'ofproto_mutex'.
authorBen Pfaff <blp@nicira.com>
Thu, 12 Sep 2013 07:31:33 +0000 (00:31 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 04:22:33 +0000 (21:22 -0700)
commit4f2c159f462f6f84ea0cb30b183813a7c360c4db
tree6221aab359c3b6fbd97decbdacd7be736c5f5878
parent8fa060283120fc128b1c5e455a4491246ffa2a2d
ofproto: Drop 'expirable_mutex' in favor of new global 'ofproto_mutex'.

This is the first step toward making a global lock that protects everything
needed for updating the flow table.  This commit starts out by merging one
lock into the new one, and later commits will continue that process.

The mutex is initially a recursive one, because I wasn't sure that there
were no nested acquisitions at this stage, but a later commit will change
it to a regular error-checking mutex once it's settled down a bit.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c