On 5/1/2014 4:21 PM, Jesse Gross wrote:
On Wed, Apr 30, 2014 at 4:46 PM, Andy Zhou <az...@nicira.com> wrote:
diff --git a/datapath/actions.c b/datapath/actions.c
index 5871d82..5556a0c 100644
--- a/datapath/actions.c
+++ b/datapath/actions.c
@@ -644,22 +649,24 @@ static DEFINE_PER_CPU(struct loop_counter, loop_counters);
static int loop_suppress(struct datapath *dp, struct sw_flow_actions *actions)
{
if (net_ratelimit())
- pr_warn("%s: flow looped %d times, dropping\n",
- ovs_dp_name(dp), MAX_LOOPS);
+ pr_warn("%s: flow looped detected, dropping\n",
Probably should be "flow loop detected,..." not "flow looped detected"
+ ovs_dp_name(dp));
I think the message should read "flow loop detected" i.e. present
tense but otherwise this looks good to me.
Acked-by: Jesse Gross <je...@nicira.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev