* [Cluster-devel] cluster/rgmanager/src/daemons rg_thread.c
@ 2006-11-27 22:32 lhh
0 siblings, 0 replies; 8+ messages in thread
From: lhh @ 2006-11-27 22:32 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh at sourceware.org 2006-11-27 22:32:05
Modified files:
rgmanager/src/daemons: rg_thread.c
Log message:
Fix #213878 - segfault in rg_thread.c due to improper loop semantics
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&r1=1.15&r2=1.16
--- cluster/rgmanager/src/daemons/rg_thread.c 2006/09/27 18:58:53 1.15
+++ cluster/rgmanager/src/daemons/rg_thread.c 2006/11/27 22:32:05 1.16
@@ -111,18 +111,22 @@
purge_status_checks(request_t **list)
{
request_t *curr;
+ int found;
if (!list)
return;
- list_do(list, curr) {
- if (curr->rr_request != RG_STATUS)
- continue;
-
- list_remove(list, curr);
- rq_free(curr);
- curr = *list;
- } while (!list_done(list, curr));
+ do {
+ found = 0;
+ list_do(list, curr) {
+ if (curr->rr_request == RG_STATUS) {
+ list_remove(list, curr);
+ rq_free(curr);
+ found = 1;
+ break;
+ }
+ } while (!list_done(list, curr));
+ } while (found);
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Cluster-devel] cluster/rgmanager/src/daemons rg_thread.c
@ 2006-11-27 22:33 lhh
0 siblings, 0 replies; 8+ messages in thread
From: lhh @ 2006-11-27 22:33 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2006-11-27 22:33:04
Modified files:
rgmanager/src/daemons: rg_thread.c
Log message:
Fix #213878 - segfault in rg_thread.c due to improper loop semantics
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.15&r2=1.15.2.1
--- cluster/rgmanager/src/daemons/rg_thread.c 2006/09/27 18:58:53 1.15
+++ cluster/rgmanager/src/daemons/rg_thread.c 2006/11/27 22:33:04 1.15.2.1
@@ -111,18 +111,22 @@
purge_status_checks(request_t **list)
{
request_t *curr;
+ int found;
if (!list)
return;
- list_do(list, curr) {
- if (curr->rr_request != RG_STATUS)
- continue;
-
- list_remove(list, curr);
- rq_free(curr);
- curr = *list;
- } while (!list_done(list, curr));
+ do {
+ found = 0;
+ list_do(list, curr) {
+ if (curr->rr_request == RG_STATUS) {
+ list_remove(list, curr);
+ rq_free(curr);
+ found = 1;
+ break;
+ }
+ } while (!list_done(list, curr));
+ } while (found);
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Cluster-devel] cluster/rgmanager/src/daemons rg_thread.c
@ 2006-11-27 22:34 lhh
0 siblings, 0 replies; 8+ messages in thread
From: lhh @ 2006-11-27 22:34 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL50
Changes by: lhh at sourceware.org 2006-11-27 22:34:18
Modified files:
rgmanager/src/daemons: rg_thread.c
Log message:
Fix #213878 - segfault in rg_thread.c due to improper loop semantics
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.15&r2=1.15.4.1
--- cluster/rgmanager/src/daemons/rg_thread.c 2006/09/27 18:58:53 1.15
+++ cluster/rgmanager/src/daemons/rg_thread.c 2006/11/27 22:34:18 1.15.4.1
@@ -111,18 +111,22 @@
purge_status_checks(request_t **list)
{
request_t *curr;
+ int found;
if (!list)
return;
- list_do(list, curr) {
- if (curr->rr_request != RG_STATUS)
- continue;
-
- list_remove(list, curr);
- rq_free(curr);
- curr = *list;
- } while (!list_done(list, curr));
+ do {
+ found = 0;
+ list_do(list, curr) {
+ if (curr->rr_request == RG_STATUS) {
+ list_remove(list, curr);
+ rq_free(curr);
+ found = 1;
+ break;
+ }
+ } while (!list_done(list, curr));
+ } while (found);
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Cluster-devel] cluster/rgmanager/src/daemons rg_thread.c
@ 2006-12-14 20:11 lhh
0 siblings, 0 replies; 8+ messages in thread
From: lhh @ 2006-12-14 20:11 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh at sourceware.org 2006-12-14 20:11:04
Modified files:
rgmanager/src/daemons: rg_thread.c
Log message:
Fix #216774; missed rg_thread.c
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&r1=1.16&r2=1.17
--- cluster/rgmanager/src/daemons/rg_thread.c 2006/11/27 22:32:05 1.16
+++ cluster/rgmanager/src/daemons/rg_thread.c 2006/12/14 20:11:04 1.17
@@ -146,7 +146,7 @@
list_remove(list, curr);
dprintf("Removed request %d\n", curr->rr_request);
if (curr->rr_resp_ctx) {
- send_response(RG_EABORT, curr);
+ send_response(RG_EABORT, 0, curr);
}
rq_free(curr);
}
@@ -439,7 +439,7 @@
if (ret != RG_NONE && rg_initialized() &&
(req->rr_resp_ctx)) {
- send_response(error, req);
+ send_response(error, newowner, req);
}
rq_free(req);
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Cluster-devel] cluster/rgmanager/src/daemons rg_thread.c
@ 2006-12-14 20:12 lhh
0 siblings, 0 replies; 8+ messages in thread
From: lhh @ 2006-12-14 20:12 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL50
Changes by: lhh at sourceware.org 2006-12-14 20:12:04
Modified files:
rgmanager/src/daemons: rg_thread.c
Log message:
Fix #216774; missed rg_thread.c patch (merge from HEAD)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.15.4.1&r2=1.15.4.2
--- cluster/rgmanager/src/daemons/rg_thread.c 2006/11/27 22:34:18 1.15.4.1
+++ cluster/rgmanager/src/daemons/rg_thread.c 2006/12/14 20:12:03 1.15.4.2
@@ -146,7 +146,7 @@
list_remove(list, curr);
dprintf("Removed request %d\n", curr->rr_request);
if (curr->rr_resp_ctx) {
- send_response(RG_EABORT, curr);
+ send_response(RG_EABORT, 0, curr);
}
rq_free(curr);
}
@@ -439,7 +439,7 @@
if (ret != RG_NONE && rg_initialized() &&
(req->rr_resp_ctx)) {
- send_response(error, req);
+ send_response(error, newowner, req);
}
rq_free(req);
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Cluster-devel] cluster/rgmanager/src/daemons rg_thread.c
@ 2006-12-14 20:12 lhh
0 siblings, 0 replies; 8+ messages in thread
From: lhh @ 2006-12-14 20:12 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2006-12-14 20:12:25
Modified files:
rgmanager/src/daemons: rg_thread.c
Log message:
Fix #216774; missed rg_thread.c patch (merge from HEAD)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.15.2.1&r2=1.15.2.2
--- cluster/rgmanager/src/daemons/rg_thread.c 2006/11/27 22:33:04 1.15.2.1
+++ cluster/rgmanager/src/daemons/rg_thread.c 2006/12/14 20:12:25 1.15.2.2
@@ -146,7 +146,7 @@
list_remove(list, curr);
dprintf("Removed request %d\n", curr->rr_request);
if (curr->rr_resp_ctx) {
- send_response(RG_EABORT, curr);
+ send_response(RG_EABORT, 0, curr);
}
rq_free(curr);
}
@@ -439,7 +439,7 @@
if (ret != RG_NONE && rg_initialized() &&
(req->rr_resp_ctx)) {
- send_response(error, req);
+ send_response(error, newowner, req);
}
rq_free(req);
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Cluster-devel] cluster/rgmanager/src/daemons rg_thread.c
@ 2008-01-25 16:03 lhh
0 siblings, 0 replies; 8+ messages in thread
From: lhh @ 2008-01-25 16:03 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2008-01-25 16:03:38
Modified files:
rgmanager/src/daemons: rg_thread.c
Log message:
Fix 430220 - -e -m not working
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.15.2.10&r2=1.15.2.11
--- cluster/rgmanager/src/daemons/rg_thread.c 2007/12/18 17:52:56 1.15.2.10
+++ cluster/rgmanager/src/daemons/rg_thread.c 2008/01/25 16:03:38 1.15.2.11
@@ -264,14 +264,12 @@
break;
case RG_ENABLE:
- #if 0
if (req->rr_target != 0 &&
req->rr_target != my_id()) {
error = RG_EFORWARD;
ret = RG_NONE;
break;
}
- #endif
case RG_START:
if (req->rr_arg0) {
error = handle_fd_start_req(myname,
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Cluster-devel] cluster/rgmanager/src/daemons rg_thread.c
@ 2008-01-25 16:04 lhh
0 siblings, 0 replies; 8+ messages in thread
From: lhh @ 2008-01-25 16:04 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL51
Changes by: lhh at sourceware.org 2008-01-25 16:04:43
Modified files:
rgmanager/src/daemons: rg_thread.c
Log message:
Fix 430220 - clusvcadm -e -m / -Fe not working on RHEL 5.1
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL51&r1=1.15.2.7.2.1&r2=1.15.2.7.2.2
--- cluster/rgmanager/src/daemons/rg_thread.c 2007/07/24 18:49:18 1.15.2.7.2.1
+++ cluster/rgmanager/src/daemons/rg_thread.c 2008/01/25 16:04:43 1.15.2.7.2.2
@@ -263,14 +263,12 @@
break;
case RG_ENABLE:
- #if 0
if (req->rr_target != 0 &&
req->rr_target != my_id()) {
error = RG_EFORWARD;
ret = RG_NONE;
break;
}
- #endif
case RG_START:
if (req->rr_arg0) {
error = handle_fd_start_req(myname,
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-01-25 16:04 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 16:03 [Cluster-devel] cluster/rgmanager/src/daemons rg_thread.c lhh
-- strict thread matches above, loose matches on Subject: below --
2008-01-25 16:04 lhh
2006-12-14 20:12 lhh
2006-12-14 20:12 lhh
2006-12-14 20:11 lhh
2006-11-27 22:34 lhh
2006-11-27 22:33 lhh
2006-11-27 22:32 lhh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).