From: "David S. Miller" <davem@redhat.com>
To: mroos@linux.ee
Cc: linux-kernel@vger.kernel.org, neilb@cse.unsw.edu.au
Subject: Re: 2.4.20-pre2 NFS OOPS on sparc64
Date: Tue, 13 Aug 2002 10:27:37 -0700 (PDT) [thread overview]
Message-ID: <20020813.102737.04335380.davem@redhat.com> (raw)
In-Reply-To: <Pine.GSO.4.43.0208131916340.16824-100000@romulus.cs.ut.ee>
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 */
next prev parent reply other threads:[~2002-08-13 17:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-13 16:21 2.4.20-pre2 NFS OOPS on sparc64 Meelis Roos
2002-08-13 17:27 ` David S. Miller [this message]
2002-08-13 22:27 ` Neil Brown
2002-08-13 23:10 ` Alan Cox
2002-08-13 23:37 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020813.102737.04335380.davem@redhat.com \
--to=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mroos@linux.ee \
--cc=neilb@cse.unsw.edu.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox