ofproto: Take locks before calling classifier_count().
authorJoe Stringer <joestringer@nicira.com>
Thu, 30 Oct 2014 20:33:02 +0000 (13:33 -0700)
committerJoe Stringer <joestringer@nicira.com>
Fri, 31 Oct 2014 22:41:50 +0000 (15:41 -0700)
commitdd0147d0c81787ad039548315188feb71dd32e90
tree2dc4405f194a73ae9a52213a32cf26f56e0c27e5
parent8a19eca535525c4f1a82578700660236f3b13f76
ofproto: Take locks before calling classifier_count().

Commit 635e5bf55b (ofproto: Warn about excessive rule counts in OpenFlow
tables.) introduced an access of classifier_count() without taking the
corresponding locks first.

Found by clang.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c