summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/core/pktgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index 0e4a6f9f6d87..f57db05b4341 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -647,6 +647,7 @@ static void inject(struct pktgen_info* info)
info->do_run_run = 1; /* Cranke yeself! */
info->idle_acc = 0;
info->sofar = 0;
+ info->errors = 0;
lcount = info->count;