On Fri, 2005-04-01 at 00:02 -0800, Andrew Morton wrote: > Evgeniy Polyakov <[email protected]> wrote: > > > > On Thu, 2005-03-31 at 23:42 -0800, Andrew Morton wrote: > > > Evgeniy Polyakov <[email protected]> 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:
signature.asc
Description: This is a digitally signed message part
- References:
- Re: connector.c
- From: Evgeniy Polyakov <[email protected]>
- Re: connector.c
- From: Andrew Morton <[email protected]>
- Re: connector.c
- From: Evgeniy Polyakov <[email protected]>
- Re: connector.c
- From: Andrew Morton <[email protected]>
- Re: connector.c
- Prev by Date: Re: connector.c
- Next by Date: Re: cn_queue.c
- Previous by thread: Re: connector.c
- Next by thread: sysfs for IPMI, for new mm kernels
- Index(es):