From 8f5e000c4fbd6678aa1c6e4f891344b64a32fc30 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 17 Mar 2009 17:14:23 -0700 Subject: [PATCH] in-band: Use OFPP_NORMAL instead of OFPP_LOCAL for traffic to local port. If we use OFPP_LOCAL then the code that implements the normal action won't get a chance to learn from these packets. This change seems somewhat risky, since in-band control is so touchy, which is why it is broken out as a separate commit that can easily be reverted. --- secchan/in-band.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secchan/in-band.c b/secchan/in-band.c index b84a7751..b6b51d33 100644 --- a/secchan/in-band.c +++ b/secchan/in-band.c @@ -256,7 +256,7 @@ in_band_run(struct in_band *in_band) memset(&flow, 0, sizeof flow); memcpy(flow.dl_dst, local_mac, ETH_ADDR_LEN); setup_flow(in_band, IBR_TO_LOCAL_PORT, &flow, OFPFW_DL_DST, - OFPP_LOCAL); + OFPP_NORMAL); } else { drop_flow(in_band, IBR_TO_LOCAL_PORT); } -- 2.30.2