ofproto-dpif: Add more lock annotations.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Jan 2014 18:22:20 +0000 (10:22 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 16 Jan 2014 20:27:03 +0000 (12:27 -0800)
commit6a4d3ab53d53bc97ab9eee8709c5720dea1fb260
tree51053ce03d5ac48ec4888b034affe56fda5a97ca
parentef507cecc926a3f42bb59de1b2aff6f119838c6a
ofproto-dpif: Add more lock annotations.

This annotation would have caught the bug fixed by commit 491a67a0005347130
(ofproto-dpif-xlate: Avoid recursive acquisition of xlate_rwlock.).

Signed-off-by: Ben Pfaff <blp@nicira.com>
CC: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif.h