public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: connector.c
Date: Fri, 01 Apr 2005 12:28:54 +0400	[thread overview]
Message-ID: <1112344134.9334.136.camel@uganda> (raw)
In-Reply-To: <20050401000215.6d85c477.akpm@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]

On Fri, 2005-04-01 at 00:02 -0800, Andrew Morton wrote:
> Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote:
> >
> > On Thu, 2005-03-31 at 23:42 -0800, Andrew Morton wrote:
> >  > Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote:
> >  > >
> >  > > > What happens if we expect a reply to our message but userspace never sends
> >  > > > one?  Does the kernel leak memory?  Do other processes hang?
> >  > > 
> >  > > It is only advice, one may easily skip seq/ack initialization.
> >  > > I could remove it totally from the header, but decided to 
> >  > > place it to force people to use more reliable protocols over netlink
> >  > > by introducing such overhead.
> >  > 
> >  > hm.  I don't know what that means.
> > 
> >  Messages that are passed between agents must have only id,
> >  but I decided to force people to use provided seq/ack fields
> >  to store there some information about message order.
> >  Neither kernel nor userspace requires that fields to be 
> >  somehow initialized.
> 
> Back to my original question.  If the kernel expects a reply from userspace
> to a particular message, and that reply never comes, what happens?

Nothing.
If reply message will be recived, it will be delivered to the requested 
connector user, if reply will not be received just nothing happens.

Not connector, but it's users who may expect reply to theirs messages.

-- 
        Evgeniy Polyakov

Crash is better than data corruption -- Arthur Grabowski

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2005-04-01  8:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-01  1:30 connector.c Andrew Morton
2005-04-01  2:41 ` connector.c Tommy Reynolds
2005-04-01 14:29   ` connector.c Matthias Urlichs
2005-04-01 17:36     ` connector.c Paul Jackson
2005-04-01  7:07 ` connector.c Evgeniy Polyakov
2005-04-01  7:42   ` connector.c Andrew Morton
2005-04-01  8:03     ` connector.c Evgeniy Polyakov
2005-04-01  8:02       ` connector.c Andrew Morton
2005-04-01  8:28         ` Evgeniy Polyakov [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=1112344134.9334.136.camel@uganda \
    --to=johnpol@2ka.mipt.ru \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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