summaryrefslogtreecommitdiff
path: root/proto_mpls_unicast.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-03-22 12:29:19 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-03-22 12:29:19 +0100
commit08c2dc1fcb403519a86a1129ad27c3188294e18f (patch)
tree39885c89ebf328b8e40162f93b1b5263cc12101f /proto_mpls_unicast.c
parent540ae1ee3b2456355fc9c36410667e1b5019e314 (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 'proto_mpls_unicast.c')
0 files changed, 0 insertions, 0 deletions