sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
194 stars 712 forks source link

Fix the infinite loop in get_multiple_flows function. #13485

Open rraghav-cisco opened 3 months ago

rraghav-cisco commented 3 months ago

The get_multiple_flows function can end up with infinite loop when the required packet keeps coming into another port, not the desired port. Since the number of attempts check is wrong, it keeps going into that loop, never coming out. This PR fixes this attempts check.

rraghav-cisco commented 6 days ago

@kevinskwang , @XuChen-MSFT : Pls comment, and merge if approved.