summaryrefslogtreecommitdiff
path: root/source3/libsmb/async_smb.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-02-27 10:18:44 -0800
committerJeremy Allison <jra@samba.org>2013-03-01 11:59:59 -0800
commit5ca69148844e2f8940b571aef0812e85e08b7cc5 (patch)
tree5851b178ff424f0fe36dd8f169394d0c89044307 /source3/libsmb/async_smb.c
parentb53c704a34abca0ad69ae9a0dbb0db6a0a71043b (diff)
downloadsamba-5ca69148844e2f8940b571aef0812e85e08b7cc5.tar.gz
samba-5ca69148844e2f8940b571aef0812e85e08b7cc5.tar.bz2
samba-5ca69148844e2f8940b571aef0812e85e08b7cc5.zip
tevent: Fix multiple handler on the same fd bug in the tevent select backend.
When we're deciding what handlers to call in the select backend, we didn't take into account the fact that the same fd may have been added into the read FD_SET and the write FD_SET but with different handlers. We must match on both the file descriptor and the flags requested before calling the handler. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb/async_smb.c')
0 files changed, 0 insertions, 0 deletions