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 <[email protected]>
---
controller/pinctrl.c | 4 ++++
1 file changed, 4 insertions(+)
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);
--
2.46.2
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev