X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Floop_counter.c;h=491305d97e5f93090e2c50fb997e12a58d347321;hb=7f9bd4e8db2b307813c44bce0c5c5e2e69331c25;hp=fbfbdcfa319f88c452369b5a924d26cdbd2e931c;hpb=7eaa9830512604ea9f18e8efb306b9bd75a8248b;p=openvswitch diff --git a/datapath/loop_counter.c b/datapath/loop_counter.c index fbfbdcfa..491305d9 100644 --- a/datapath/loop_counter.c +++ b/datapath/loop_counter.c @@ -20,7 +20,7 @@ void loop_suppress(struct datapath *dp, struct sw_flow_actions *actions) if (net_ratelimit()) pr_warn("%s: flow looped %d times, dropping\n", dp_name(dp), MAX_LOOPS); - actions->n_actions = 0; + actions->actions_len = 0; } #ifndef CONFIG_PREEMPT_RT