The Samba-Bugzilla – Attachment 10969 Details for
Bug 11217
smbd crashes sporadically on Solaris platform - bind() fails with EADDRINUSE in unix_dgram_init()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-s3-unix_msg-remove-socket-file-after-closing-socket-.patch (text/plain), 954 bytes, created by
YOUZHONG YANG
on 2015-04-20 13:50:19 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
YOUZHONG YANG
Created:
2015-04-20 13:50:19 UTC
Size:
954 bytes
patch
obsolete
>From f8575ee84999dbf2ceabd02ca24c23b864e8d917 Mon Sep 17 00:00:00 2001 >From: Youzhong Yang <yyang@mathworks.com> >Date: Mon, 20 Apr 2015 09:42:42 -0400 >Subject: [PATCH] s3-unix_msg: remove socket file after closing socket fd > >It fixes https://bugzilla.samba.org/show_bug.cgi?id=11217 >--- > source3/lib/unix_msg/unix_msg.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/lib/unix_msg/unix_msg.c b/source3/lib/unix_msg/unix_msg.c >index 7cb1936..0baaa9d 100644 >--- a/source3/lib/unix_msg/unix_msg.c >+++ b/source3/lib/unix_msg/unix_msg.c >@@ -684,13 +684,13 @@ static int unix_dgram_free(struct unix_dgram_ctx *ctx) > > ctx->ev_funcs->watch_free(ctx->sock_read_watch); > >+ close(ctx->sock); > if (getpid() == ctx->created_pid) { > /* If we created it, unlink. Otherwise someone else might > * still have it open */ > unlink(ctx->path); > } > >- close(ctx->sock); > free(ctx->recv_buf); > free(ctx); > return 0; >-- >1.7.2.5 >
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
Actions:
View
Attachments on
bug 11217
:
10969
|
10980