Message ID | 20241101132927.81337-4-dceara@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | controller: FDB/MAC_Binding learning/aging fixes. | expand |
Context | Check | Description |
---|---|---|
ovsrobot/apply-robot | success | apply and check: success |
ovsrobot/github-robot-_Build_and_Test | success | github build: passed |
ovsrobot/github-robot-_ovn-kubernetes | success | github build: passed |
diff --git a/controller/pinctrl.c b/controller/pinctrl.c index ca880a1da6..dfb2560a97 100644 --- a/controller/pinctrl.c +++ b/controller/pinctrl.c @@ -4957,6 +4957,10 @@ run_buffered_binding(const struct sbrec_mac_binding_table *mac_binding_table, const struct sbrec_mac_binding *smb; SBREC_MAC_BINDING_TABLE_FOR_EACH_TRACKED (smb, mac_binding_table) { + if (sbrec_mac_binding_is_deleted(smb)) { + continue; + } + const struct sbrec_port_binding *pb = lport_lookup_by_name( sbrec_port_binding_by_name, smb->logical_port);
There's no real point to try to send any buffered packets for these MAC bindings, they're stale anyway. Fixes: bbd5e0d81c16 ("controller: improve buffered packets management") Signed-off-by: Dumitru Ceara <dceara@redhat.com> --- controller/pinctrl.c | 4 ++++ 1 file changed, 4 insertions(+)