Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xdp-trafficgen: Fix exiting after completion of packet send loop
The runners_exited boolean no longer causes the event loop to exit, so xdp-trafficgen will no longer exit if instructed to send a fixed number of packets, after the porting to util/xdp_sample. Instead of setting the boolean, have the packet sender thread send a SIGINT to itself after exiting, which will cause the signal handler in xdp_sample to exit. Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
- Loading branch information