summaryrefslogtreecommitdiff
path: root/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-15 16:33:56 +0100
committerJeremy Allison <jra@samba.org>2013-03-01 12:00:15 -0800
commit73dabddbdce99c5bc19a4be814f88da581e6d372 (patch)
treeeaac27f865324216d79654bd224f27118840d959 /lib/ldb/ldb_tdb
parent2b05c9621784da8e5aa793cd2110dde768084968 (diff)
downloadsamba-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/ldb/ldb_tdb')
0 files changed, 0 insertions, 0 deletions