signalfd_read_bh(): deallocate data for dequeued signals
The existing code is failing to deallocate the queued_signal
structs that are being dequeued by a given thread.
@@ -902,6 +902,7 @@ closure_function(5, 1, sysreturn, signalfd_read_bh,
}
sig_debug(" sig %d, errno %d, code %d\n", qs->si.si_signo, qs->si.si_errno, qs->si.si_code);
signalfd_siginfo_fill(info, qs);
+ free_queued_signal(qs);
info++;
ninfos++;
}
