Commit b0158ba4 authored by Scott Feldman's avatar Scott Feldman Committed by David S. Miller

[PKTGEN]: Clean error count before each run.

Signed-off-by: default avatarScott Feldman <sfeldma@pobox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d46b1a35
...@@ -647,6 +647,7 @@ static void inject(struct pktgen_info* info) ...@@ -647,6 +647,7 @@ static void inject(struct pktgen_info* info)
info->do_run_run = 1; /* Cranke yeself! */ info->do_run_run = 1; /* Cranke yeself! */
info->idle_acc = 0; info->idle_acc = 0;
info->sofar = 0; info->sofar = 0;
info->errors = 0;
lcount = info->count; lcount = info->count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment