Re: Latest build kernel panic on AIX 6.1 6100-09-12

Jeffrey E Altman <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.devel
Organization AuriStor, Inc.
Message-ID <[email protected]>
On 8/16/2022 2:50 AM, Ben Huntsman ([email protected]) wrote:
> CRASH INFORMATION:
> CPU 0 CSA F00000002FF47600 at time of crash, error code for LEDs: 30000000
> pvthread+01DB00 STACK:
> [0000E864]___memset64+00005C ()
> [F1000000C04C1AF4]rxevent_alloc+000094 ()
>
Try fixing the misplaced #endif. 


diff --git a/src/rx/rx_event.c b/src/rx/rx_event.c
--- a/src/rx/rx_event.c
+++ b/src/rx/rx_event.c
@@ -126,8 +126,8 @@ rxevent_alloc(void)
        mrec->next = freeEvents.mallocs;
        freeEvents.mallocs = mrec;
        MUTEX_EXIT(&freeEvents.lock);
-#endif
        ev = &evlist[0];
+#endif
     } else {
        ev = opr_queue_Shift(&freeEvents.list, struct rxevent, q);
        MUTEX_EXIT(&freeEvents.lock);
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.