Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 299392 Details for
Bug 404451
minor updates/fixes for RHEL5.2
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add checks for POLLNVAL wherever we check for POLLHUP
cluster-pollnval.patch (text/plain), 1.66 KB, created by
Lon Hohberger
on 2008-03-27 21:25:49 UTC
(
hide
)
Description:
Add checks for POLLNVAL wherever we check for POLLHUP
Filename:
MIME Type:
Creator:
Lon Hohberger
Created:
2008-03-27 21:25:49 UTC
Size:
1.66 KB
patch
obsolete
>diff --git a/fence/fenced/main.c b/fence/fenced/main.c >index f0f23e5..ea35dc4 100644 >--- a/fence/fenced/main.c >+++ b/fence/fenced/main.c >@@ -480,7 +480,7 @@ static int loop(void) > for (i = 1; i <= maxi; i++) { > if (client[i].fd < 0) > continue; >- if (pollfd[i].revents & POLLHUP) { >+ if (pollfd[i].revents & (POLLHUP | POLLNVAL)) { > if (pollfd[i].fd == member_fd) { > log_error("cluster is down, exiting"); > exit(1); >diff --git a/group/daemon/main.c b/group/daemon/main.c >index 81c5392..396432d 100644 >--- a/group/daemon/main.c >+++ b/group/daemon/main.c >@@ -764,7 +764,7 @@ static int loop(void) > for (i = 0; i <= client_maxi; i++) { > if (client[i].fd < 0) > continue; >- if (pollfd[i].revents & POLLHUP) { >+ if (pollfd[i].revents & (POLLHUP | POLLNVAL)) { > deadfn = client[i].deadfn; > deadfn(i); > } else if (pollfd[i].revents & POLLIN) { >diff --git a/group/dlm_controld/main.c b/group/dlm_controld/main.c >index 4aee976..164be9d 100644 >--- a/group/dlm_controld/main.c >+++ b/group/dlm_controld/main.c >@@ -667,7 +667,7 @@ static int loop(void) > workfn = client[i].workfn; > workfn(i); > } >- if (pollfd[i].revents & POLLHUP) { >+ if (pollfd[i].revents & (POLLHUP | POLLNVAL)) { > deadfn = client[i].deadfn; > deadfn(i); > } >diff --git a/group/gfs_controld/main.c b/group/gfs_controld/main.c >index 59ac66d..18034c4 100644 >--- a/group/gfs_controld/main.c >+++ b/group/gfs_controld/main.c >@@ -617,7 +617,7 @@ int loop(void) > process_client(i); > } > >- if (pollfd[i].revents & POLLHUP) { >+ if (pollfd[i].revents & (POLLHUP | POLLNVAL)) { > if (pollfd[i].fd == cman_fd) { > log_error("cman connection died"); > exit_cman();
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 404451
:
299390
|
299391
| 299392