diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-15 16:33:56 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-03-01 12:00:15 -0800 |
commit | 73dabddbdce99c5bc19a4be814f88da581e6d372 (patch) | |
tree | eaac27f865324216d79654bd224f27118840d959 /lib/replace/.checker_innocent | |
parent | 2b05c9621784da8e5aa793cd2110dde768084968 (diff) | |
download | samba-73dabddbdce99c5bc19a4be814f88da581e6d372.tar.gz samba-73dabddbdce99c5bc19a4be814f88da581e6d372.tar.bz2 samba-73dabddbdce99c5bc19a4be814f88da581e6d372.zip |
tevent: avoid any operation on epoll_ev after a epoll_panic()
This calls TALLOC_FREE(ev->additional_data), which is epoll_ev
within epoll_panic() before calling the fallback handler.
In order to notice that a epoll_panic() happened, a caller can
register a pointer to a bool variable under epoll_ev->panic_state.
As epoll_check_reopen() can fail due to a epoll_panic(),
we need to force the replay flag if we have called any event handler.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/replace/.checker_innocent')
0 files changed, 0 insertions, 0 deletions