Re: connector.c

From: Andrew Morton
Date: Fri Apr 01 2005 - 03:08:25 EST


Evgeniy Polyakov <johnpol@xxxxxxxxxxx> wrote:
>
> On Thu, 2005-03-31 at 23:42 -0800, Andrew Morton wrote:
> > Evgeniy Polyakov <johnpol@xxxxxxxxxxx> 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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/