On 2/15/24 14:36, Simon Horman wrote:
> On Thu, Feb 15, 2024 at 12:55:59PM +0100, Ilya Maximets wrote:
>> The cited commit removed direct call to RSTP module from a callback,
>> but we can still enter the module after going through a patch port
>> to a different bridge via ofproto_dpif_send_packet().
>>
>> Partially revert the change going back to a recursive mutex.
>>
>> Adding the same test for both RSTP and STP. While STP unit tests
>> do catch the same problem for STP (if STP mutex changed to be
>> non-recursive), they are not actually using the same callback function
>> as ovs-vswitchd, so it makes sense to test the implementation in
>> ovs-vswitchd itself as well.
>>
>> Fixes: 6b90bc57e7a2 ("lib/rstp: Remove lock recursion.")
>> Reported-at:
>> https://mail.openvswitch.org/pipermail/ovs-discuss/2024-February/052925.html
>> Reported-by: Huangzhidong <[email protected]>
>> Signed-off-by: Ilya Maximets <[email protected]>
>
> Acked-by: Simon Horman <[email protected]>
>
Thanks! Applied and backported down to 2.17.
Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev