ovn-northd: Remove extraneous ip4 mulicast logical flow.
authorRyan Moats <rmoats@us.ibm.com>
Thu, 14 Jul 2016 18:34:54 +0000 (13:34 -0500)
committerRussell Bryant <russell@ovn.org>
Thu, 14 Jul 2016 20:35:00 +0000 (16:35 -0400)
IPv4 multicast is already dropped by a previous logical flow
written for the logical router, so there is no reason to add
a lower priority rule for it.

Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Acked-by: Flavio Fernandes <flavio@flaviof.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
ovn/northd/ovn-northd.c

index b1c2c6c..7ce509d 100644 (file)
@@ -2251,10 +2251,6 @@ build_lrouter_flows(struct hmap *datapaths, struct hmap *ports,
         ovn_lflow_add(lflows, od, S_ROUTER_IN_IP_INPUT, 50,
                       "eth.bcast", "drop;");
 
-        /* Drop IP multicast. */
-        ovn_lflow_add(lflows, od, S_ROUTER_IN_IP_INPUT, 50,
-                      "ip4.mcast", "drop;");
-
         /* TTL discard.
          *
          * XXX Need to send ICMP time exceeded if !ip.later_frag. */