Messages in this thread Patch in this message | | | Date | Tue, 13 Aug 2002 10:27:37 -0700 (PDT) | Subject | Re: 2.4.20-pre2 NFS OOPS on sparc64 | From | "David S. Miller" <> |
| |
From: Meelis Roos <mroos@linux.ee> Date: Tue, 13 Aug 2002 19:21:30 +0300 (EEST)
2 oopses from stock 2.4.20-pre2 during NFS startup 9mountd etc killed as a result). Looks like a bad use of bitops inside sunrpc. egcs64 compiler from debian.
Neil, sk_flags in struct svc_sock may not be an int, bitops require "long".
--- include/linux/sunrpc/svcsock.h.~1~ Tue Aug 13 10:37:10 2002 +++ include/linux/sunrpc/svcsock.h Tue Aug 13 10:37:15 2002 @@ -22,7 +22,7 @@ struct svc_serv * sk_server; /* service for this socket */ unsigned char sk_inuse; /* use count */ - unsigned int sk_flags; + unsigned long sk_flags; #define SK_BUSY 0 /* enqueued/receiving */ #define SK_CONN 1 /* conn pending */ #define SK_CLOSE 2 /* dead or dying */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |