mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: pwc@speakeasy.net
Cc: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: 2.4.0-ac3 write() to tcp socket returning errno of -3 (ESRCH: "No such process")
Date: Sun, 7 Jan 2001 21:58:48 -0800	[thread overview]
Message-ID: <200101080558.VAA02081@pizda.ninka.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0101072217440.703-100000@localhost> (message from Paul Cassella on Sun, 7 Jan 2001 23:55:28 -0600 (CST))
In-Reply-To: <Pine.LNX.4.21.0101072217440.703-100000@localhost>

   Date: 	Sun, 7 Jan 2001 23:55:28 -0600 (CST)
   From: Paul Cassella <pwc@speakeasy.net>

   [1.] One line summary of the problem:

   write() returns -1 and sets errno non-sensically.  2.4.0{,-ac[23]}

What you describe I can only say is "impossible".

There are only four cases when _ANY_ part of the ipv4 networking stack
can return ESRCH.  These four cases are:

1) Adding a route
2) Deleting a route
3) Adding a FIB routing rule
3) Removing a FIB routing rule

None of them can occur via TCP socket writes (only netlink socket
operations or socket control calls).

Therefore I suspect you are perhaps getting rather some form of memory
corruption or similar, really, please search the networking code for
ESRCH value usage, you will see.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-08  6:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-08  5:55 Paul Cassella
2001-01-08  5:58 ` David S. Miller [this message]
2001-01-08  7:16   ` Paul Cassella
2001-01-08  7:05     ` David S. Miller
2001-01-08  6:35 ` Andi Kleen
2001-01-08  7:54   ` Paul Cassella
     [not found] <3A5B0A59.1EB60A88@uow.edu.au>
2001-01-09 14:03 ` Paul Cassella
2001-01-11 16:45   ` Paul Cassella
2001-01-11 17:18     ` David S. Miller
2001-01-12 10:52       ` 2.4.0-ac3 write() to tcp socket returning errno of -3 (ESRCH:"No " Andrew Morton

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=200101080558.VAA02081@pizda.ninka.net \
    --to=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=pwc@speakeasy.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®