From: Adrian Moreno <amore...@redhat.com> The drop was implicit (using empty actions). Make it explicit and sampled.
Fixes: a42c808f30b4 ("northd: add drop sampling") Acked-by: Mark Michelson <mmich...@redhat.com> Signed-off-by: Adrian Moreno <amore...@redhat.com> --- controller/physical.c | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/physical.c b/controller/physical.c index 4dcf44e01..cb2cddb9f 100644 --- a/controller/physical.c +++ b/controller/physical.c @@ -1498,6 +1498,7 @@ consider_port_binding(struct ovsdb_idl_index *sbrec_port_binding_by_name, if (!strcmp(binding->type, "localnet")) { /* do not forward traffic from localport to localnet port */ ofpbuf_clear(ofpacts_p); + put_drop(debug, OFTABLE_CHECK_LOOPBACK, ofpacts_p); match_outport_dp_and_port_keys(&match, dp_key, port_key); match_set_reg_masked(&match, MFF_LOG_FLAGS - MFF_REG0, MLF_LOCALPORT, MLF_LOCALPORT); -- 2.39.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev