Acked-by: Mark Michelson <[email protected]> On 12/19/22 11:18, Adrian Moreno wrote:
The drop was implicit (using empty actions). Make it explicit and sampled.Fixes: a42c808f30b4 ("northd: add drop sampling") Signed-off-by: Adrian Moreno <[email protected]> --- controller/physical.c | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/physical.c b/controller/physical.c index bda64741e..2444d3ebd 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);
_______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
