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 04:35:32 +0000 (21:35 -0700)
commit628a3e52f4fc27956f98a17b8abe340292382141
treec75c6791764bb99f95d69381c87ee7775eff032a
parent33f1b38c367f65e89f968ec42b063f220ef4af65
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