connmgr: Formalize 'ofproto_mutex' as protecting ofconn monitor data.
authorBen Pfaff <blp@nicira.com>
Fri, 11 Oct 2013 06:11:09 +0000 (23:11 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 11 Oct 2013 17:13:06 +0000 (10:13 -0700)
commit4cd1bc9d103e03de4bdf28e815b1c4a0841e8c34
treef7eb9fc93a5ac963396d275d2e030a3cc9bd6429
parent3b0c6b569f7d5957919eb170ae95c402db37186c
connmgr: Formalize 'ofproto_mutex' as protecting ofconn monitor data.

'ofproto_mutex' has effectively protected the monitor-related members of
struct ofconn since its introduction, but this was not written down or
systematically annotated.  This commit makes it more systematic and fixes
a few issues found using the annotations.

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