Simplify use of dp_mutex.
authorBen Pfaff <blp@nicira.com>
Mon, 21 Jul 2008 20:59:10 +0000 (13:59 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 21 Jul 2008 20:59:10 +0000 (13:59 -0700)
commit47b8652dbe9ad4cb8e63676a97d5f787354f6bbf
treebb86d86791934c803aabc3b491f67e70be3de2da
parent988b8ef7293fd10bbc4a49fdee80fcee9b649f32
Simplify use of dp_mutex.

There was little point in taking the dp_mutex farther down in the
code than dp_genl_openflow, since that function is already completely
serialized by genl_rcv across the genl_mutex.  We could get rid of
dp_mutex completely, except that we still need it to serialize timeout.
datapath/chain.c
datapath/datapath.c
datapath/datapath.h
datapath/hwtable_dummy/hwtable_dummy.c
datapath/table-hash.c
datapath/table-linear.c