diff options
| author | Scott Feldman <sfeldma@pobox.com> | 2004-11-29 21:15:36 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-11-29 21:15:36 -0800 |
| commit | b0158ba46ca20d6eb09ec6fa9d3edf527b7fc0cb (patch) | |
| tree | c2b03d88a3af37c3f6723d7c303a5542f3ac96ff | |
| parent | d46b1a3505fc3bf5cd3a0e3f47f2e56f3b159176 (diff) | |
[PKTGEN]: Clean error count before each run.
Signed-off-by: Scott Feldman <sfeldma@pobox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | net/core/pktgen.c | 1 |
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; |
