ofproto: Protect index by cookie with ofproto_mutex.
authorBen Pfaff <blp@nicira.com>
Mon, 9 Sep 2013 21:26:23 +0000 (14:26 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Sep 2013 00:43:56 +0000 (17:43 -0700)
commit2c91602834c1955a0c0acfc5103ba1d6127cc3f1
treee532f9940f9b17d33f3b527bb2d491194745ef50
parentabe7b10f58c1d0d1c6c556a89aa6bd9223f56944
ofproto: Protect index by cookie with ofproto_mutex.

The cookie index is only used for flow_mods, so it makes sense to use this
global mutex.

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