All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Ion Badulescu <ionut@badula.org>
Cc: nfs@lists.sourceforge.net
Subject: Re: oops in the 2.4.20-NFSALL sunrpc code
Date: Fri, 13 Dec 2002 18:39:08 +0100	[thread overview]
Message-ID: <15866.6972.723553.421186@charged.uio.no> (raw)
In-Reply-To: <Pine.LNX.4.44.0212131152280.15305-100000@moisil.badula.org>

>>>>> " " == Ion Badulescu <ionut@badula.org> writes:

     > Hmm... I can see two places where the NULL could be coming
     > from. One is calling rpc_init_task() with clnt==NULL, which
     > appears to be legal since the function checks clnt for NULL:

That would indeed be very borken behaviour, and would blow up in all
sorts of strange places. Feel free to put a BUG_ON() in there.

     > The other one would be rpc_release_task() if somehow an
     > xprt_timer is fired up, spins for a while on xprt->sock_lock,
     > and in the meantime rpc_release_task() is called and it
     > releases the client:

Should be impossible. See 11 lines further up:

        /* Synchronously delete any running timer */
        rpc_delete_timer(task);

Cheers,
  Trond


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

      reply	other threads:[~2002-12-13 17:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-13 15:22 oops in the 2.4.20-NFSALL sunrpc code Ion Badulescu
2002-12-13 15:42 ` Trond Myklebust
2002-12-13 17:05   ` Ion Badulescu
2002-12-13 17:39     ` Trond Myklebust [this message]

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=15866.6972.723553.421186@charged.uio.no \
    --to=trond.myklebust@fys.uio.no \
    --cc=ionut@badula.org \
    --cc=nfs@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.