monitor tests are currently broken:
./run-tests.sh: line 60: 6490 Aborted $nft -nn monitor $monitor_args > $monitor_output
*** bit out of range 0 - FD_SETSIZE on fd_set ***: terminated
Fixes: 868040f89223 ("configure: Implement --enable-profiling option")
Signed-off-by: Florian Westphal <fw@strlen.de>
if (ret < 0)
return -1;
- if (FD_ISSET(sigfd, &readfds))
+ if (sigfd >= 0 && FD_ISSET(sigfd, &readfds))
check_signalfd(sigfd);
if (FD_ISSET(fd, &readfds)) {