The Samba-Bugzilla – Attachment 6225 Details for
Bug 7881
winbind flaky against w2k8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-s3-Fix-connecting-to-port-139-only-servers.patch (text/plain), 1.21 KB, created by
Volker Lendecke
on 2011-01-22 10:09:38 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2011-01-22 10:09:38 UTC
Size:
1.21 KB
patch
obsolete
>From b3f7609202701c0daa55c23aa1533cabab7107b1 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Sat, 22 Jan 2011 16:22:42 +0100 >Subject: [PATCH] s3: Fix connecting to port-139 only servers > >When the TCP RST came before the 5 msecs timeout kicked in, we >viewed this as final, as state->req_139 was not set yet. >--- > source3/libsmb/smbsock_connect.c | 8 +++++--- > 1 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/source3/libsmb/smbsock_connect.c b/source3/libsmb/smbsock_connect.c >index 174d2aa..352de85 100644 >--- a/source3/libsmb/smbsock_connect.c >+++ b/source3/libsmb/smbsock_connect.c >@@ -253,12 +253,14 @@ struct tevent_req *smbsock_connect_send(TALLOC_CTX *mem_ctx, > /* > * After 5 msecs, fire the 139 request > */ >- subreq = tevent_wakeup_send(state, ev, timeval_current_ofs(0, 5000)); >- if (tevent_req_nomem(subreq, req)) { >+ state->req_139 = tevent_wakeup_send( >+ state, ev, timeval_current_ofs(0, 5000)); >+ if (tevent_req_nomem(state->req_139, req)) { > TALLOC_FREE(state->req_445); > return tevent_req_post(req, ev); > } >- tevent_req_set_callback(subreq, smbsock_connect_do_139, req); >+ tevent_req_set_callback(state->req_139, smbsock_connect_do_139, >+ req); > return req; > } > >-- >1.7.3.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 7881
:
6159
|
6160
| 6225