For some reason annotation is made for a read-lock, while all the callers are correctly holding a write-lock.
Fixes: 05df16238d43 ("ofproto/bond: Fix bond post recirc rule leak.") Signed-off-by: Ilya Maximets <i.maxim...@ovn.org> --- ofproto/bond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/bond.c b/ofproto/bond.c index cfdf44f85..c4b3a4a45 100644 --- a/ofproto/bond.c +++ b/ofproto/bond.c @@ -423,7 +423,7 @@ update_recirc_rules__(struct bond *bond) static void update_recirc_rules(struct bond *bond) - OVS_REQ_RDLOCK(rwlock) + OVS_REQ_WRLOCK(rwlock) { update_recirc_rules__(bond); } -- 2.43.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev