summaryrefslogtreecommitdiff
path: root/packaging/RHEL-CTDB
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-11 12:45:26 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-12 11:08:00 +0200
commitedeb41aa204ca9814602bee1c7d9be32e5f737b5 (patch)
tree99fdacbd4d6be505c2509c6a9c13be6580895952 /packaging/RHEL-CTDB
parent02cb2052d8c68a3ba6dc8a19f580f25039321a75 (diff)
downloadsamba-edeb41aa204ca9814602bee1c7d9be32e5f737b5.tar.gz
samba-edeb41aa204ca9814602bee1c7d9be32e5f737b5.tar.bz2
samba-edeb41aa204ca9814602bee1c7d9be32e5f737b5.zip
s3:libsmb: use tevent_req_defer_callback() unless there's only one request in cli_smb_received()
Callers of tevent_req_done() (or similar functions) have to return directly. Otherwise the callback could invalidate the current stack state, which is likely to trigger segfaults. If there was only one pending request and we just got the response for that one, we can use tevent_req_done() directly. Otherwise there're more pending requests and we need to call cli_state_receive_next() or we got the response for chained requests. Both means that we have to use tevent_req_defer_callback(). metze
Diffstat (limited to 'packaging/RHEL-CTDB')
0 files changed, 0 insertions, 0 deletions