On 2/9/24 17:17, Ilya Maximets wrote:
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 <[email protected]> --- 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 voidupdate_recirc_rules(struct bond *bond) - OVS_REQ_RDLOCK(rwlock) + OVS_REQ_WRLOCK(rwlock) { update_recirc_rules__(bond); }
Looks good to me. Acked-by: Adrian Moreno <[email protected]> Thanks. -- Adrián Moreno _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
