ofproto: Add global locking around flow table changes.
authorBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 03:45:15 +0000 (20:45 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 03:46:19 +0000 (20:46 -0700)
commit15aaf59932a3fa3d6c6b914a62d1ba8515cedbf8
tree7e26aa44983e998329f2b0f82e2a8d29552df879
parent2e31a9b8c9b4b6df61ccb12601c1b226254fb492
ofproto: Add global locking around flow table changes.

This makes 'ofproto_mutex' protect the flow table well enough that threads
other than the main one can realistically modify flows.

I need to look at the interface between ofproto and connmgr: I think that
there might need to be some locking there too.

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