-
Jussi Kivilinna authored
If file callback modified another file callback (unregister(old fd), close(old fd), open => new fd (new fd == old fd), register(new fd)), and that other file callback was triggered in same 'poll' call instance, the wrong file callback (for 'new fd') would be incorrectly called. Avoid issue by not reusing file-entries when registering new file callbacks. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
6f3bed5a