public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Jeff Chua <jeff.chua.linux@gmail.com>,
	David Miller <davem@davemloft.net>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	lkml <linux-kernel@vger.kernel.org>,
	netdev@vger.kernel.org
Subject: Re: commit 64ff3b938ec6782e6585a83d5459b98b0c3f6eb8 breaks rlogin
Date: Mon, 9 Feb 2009 07:44:56 -0800 (PST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0902090740100.3048@localhost.localdomain> (raw)
In-Reply-To: <20090209055848.GA3889@gondor.apana.org.au>



On Mon, 9 Feb 2009, Herbert Xu wrote:
> 
> Then the problem isn't my patch at all.  My patch only affects
> the side sending the urgent data, according to your straces, rlogin
> is only receiving urgent data, not sending it.  So the patch cannot
> have an affect.

The trace is incolclusive about that - just look at it. It's not following 
threads/children etc, so it's missing all the relevant pieces.

Which you should have realized, Herbert, since you had the knowledge that 
your patch _DOES_ make a difference, enough to bisect to it, and enough 
to see that reverting it changes behaviour.

Why are you arguing against facts?

>From the trace:

	clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d81918) = 6433
	rt_sigaction(SIGURG, {0x80491d0, [URG], SA_RESTART}, {SIG_DFL}, 8) = 0
	rt_sigaction(SIGUSR1, {0x8048de0, [USR1], SA_RESTART}, {SIG_DFL}, 8) = 0
	rt_sigprocmask(SIG_SETMASK, [], [USR1 URG], 8) = 0
	--- SIGURG (Urgent I/O condition) @ 0 (0) ---
	kill(6433, SIGURG)                      = 0

IOW, the trace isn't saying anything at all, because all the real work 
probably got done in that child process.

> No you're still stracing rlogin, which in this case is the receiver
> of the urgent data.  Please strace the sending side, which would be
> presumably be rlogind in this case.

Herbert, how sure are you that there is no URG data on that side?

You clearly spent _zero_ time actually looking at the trace, so...

		Linus

  parent reply	other threads:[~2009-02-09 15:46 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <b6a2187b0902050641h7943816ds26275a320e724440@mail.gmail.com>
2009-02-05 23:29 ` commit 64ff3b938ec6782e6585a83d5459b98b0c3f6eb8 breaks rlogin David Miller
2009-02-05 23:32   ` Linus Torvalds
2009-02-05 23:38     ` David Miller
2009-02-05 23:52     ` Herbert Xu
     [not found] ` <20090206031025.GA3281@gondor.apana.org.au>
2009-02-06  5:39   ` Jeff Chua
2009-02-06  5:45     ` Herbert Xu
2009-02-06 11:35       ` Jeff Chua
2009-02-09  5:58         ` Herbert Xu
2009-02-09  6:03           ` David Miller
2009-02-09  6:11             ` Herbert Xu
2009-02-09  7:13               ` Ilpo Järvinen
2009-02-09  7:28                 ` Herbert Xu
2009-02-09  7:33                   ` Herbert Xu
2009-02-09 13:28                   ` Ilpo Järvinen
2009-02-21 13:24                     ` Herbert Xu
2009-02-21 18:54                       ` Ilpo Järvinen
2009-02-22  7:53                         ` David Miller
2009-02-24  6:40                           ` Jeff Chua
2009-02-24  6:44                             ` Herbert Xu
2009-02-24  6:46                             ` David Miller
2009-02-24  8:01                               ` Jeff Chua
2009-02-09 14:10                 ` Jeff Chua
2009-02-09 15:44           ` Linus Torvalds [this message]
2009-02-09 21:17             ` Herbert Xu

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=alpine.LFD.2.00.0902090740100.3048@localhost.localdomain \
    --to=torvalds@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=jeff.chua.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /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