diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-03-22 12:29:19 +0100 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-03-22 12:29:19 +0100 |
commit | 08c2dc1fcb403519a86a1129ad27c3188294e18f (patch) | |
tree | 39885c89ebf328b8e40162f93b1b5263cc12101f /tprintf.c | |
parent | 540ae1ee3b2456355fc9c36410667e1b5019e314 (diff) |
trafgen: fix bug in packet scheduling
When having a config like cpu(1): {...}, and one runs it with -n1, trafgen
behaves buggy, I also noted that in other situations. Fix this by letting
the loop also return on CPU state RES, and do not perform this stupid magic
in the main routine. So far it seems to work now after some basic tests I
did.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'tprintf.c')
0 files changed, 0 insertions, 0 deletions