Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 295385 Details for
Bug 394257
sys-cluster/keepalived-1.2.2 on Linux 3.0.6: communication with kernel failing after some time
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bind-afunspec.patch
bind-afunspec.patch (text/plain), 534 bytes, created by
Ronie Henrich
on 2011-12-10 16:18:23 UTC
(
hide
)
Description:
bind-afunspec.patch
Filename:
MIME Type:
Creator:
Ronie Henrich
Created:
2011-12-10 16:18:23 UTC
Size:
534 bytes
patch
obsolete
>diff --git a/keepalived/core/layer4.c b/keepalived/core/layer4.c >index 5725500..5b33417 100644 >--- a/keepalived/core/layer4.c >+++ b/keepalived/core/layer4.c >@@ -43,7 +43,7 @@ tcp_bind_connect(int fd, struct sockaddr_storage *addr, struct sockaddr_storage > fcntl(fd, F_SETFL, val | O_NONBLOCK); > > /* Bind socket */ >- if (bind_addr) { >+ if (bind_addr && ((struct sockaddr *) bind_addr)->sa_family != AF_UNSPEC) { > addrlen = sizeof(*bind_addr); > if (bind(fd, (struct sockaddr *) bind_addr, addrlen) != 0) > return connect_error;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 394257
:
295381
|
295383
| 295385