Whamcloud - gitweb
Branch b1_6
authorjohann <johann>
Tue, 16 Sep 2008 12:09:57 +0000 (12:09 +0000)
committerjohann <johann>
Tue, 16 Sep 2008 12:09:57 +0000 (12:09 +0000)
b=17024
i=shadow
i=bobijam

Description: Lustre GPF in {:ptlrpc:ptlrpc_server_free_request+373}
Details    : In case of memory pressure, list_del() can be called twice on
     req->rq_history_list, causing a kernel oops.

lustre/ChangeLog
lustre/ptlrpc/service.c

index 57c7806..fd07e84 100644 (file)
@@ -643,7 +643,7 @@ Details    : ptlrpc_at_recv_early_reply() should not modify req->rq_repmsg
             rq_lock held.
 
 Severity   : normal
-Frequency  : only X2
+Frequency  : only on Cray X2
 Bugzilla   : 16813
 Description: X2 build failures
 Details    : fix build failures on Cray X2.
@@ -655,6 +655,12 @@ Description: oops in statahead
 Details    : Disable statahead on systems with CONFIG_SLUB enabled, until
             such a time as problem is understood.
 
+Severity   : major
+Bugzilla   : 17024
+Description: Lustre GPF in {:ptlrpc:ptlrpc_server_free_request+373}
+Details    : In case of memory pressure, list_del() can be called twice on
+            req->rq_history_list, causing a kernel oops.
+
 -------------------------------------------------------------------------------
 
 
index 3fbfc44..59cfe97 100644 (file)
@@ -484,7 +484,7 @@ static void ptlrpc_server_free_request(struct ptlrpc_request *req)
         } else if (req->rq_reply_state && req->rq_reply_state->rs_prealloc) {
                  /* If we are low on memory, we are not interested in
                     history */
-                list_del(&req->rq_history_list);
+                list_del_init(&req->rq_history_list);
                 __ptlrpc_server_free_request(req);
         }