From: Krzysztof Halasa <khc@pm.waw.pl>
To: <linux-kernel@vger.kernel.org>
Subject: Re: Generic HDLC interface continued
Date: 02 Oct 2002 00:09:33 +0200 [thread overview]
Message-ID: <m3fzvpolpe.fsf@defiant.pm.waw.pl> (raw)
In-Reply-To: <20021001200147.A16700@fafner.intra.cogenit.fr>
Francois Romieu <romieu@cogenit.fr> writes:
> Ok, the 'type' attribute isn't enough.
>
> I feel like we are trying to do two things at the same time:
> a) the size of the allocated area isn't required if we need to do something
> real with the data: if size doesn't match what is expected, we loose
> anyway
> b) if we don't care about the copied data, we actually ask for the subtype
> of the interface
>
> -> a) and b) are two different operations imho.
Depends on the point of view, but generally it might be true.
However, it is quite practical to do a+b in one call:
- utilities will always do it in exactly that order,
- we don't need to worry about races (process A gets type/size; process
B changes protocol; process A gets invalid data).
--
Krzysztof Halasa
Network Administrator
next prev parent reply other threads:[~2002-10-02 5:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-27 21:45 Generic HDLC interface continued Krzysztof Halasa
2002-09-28 18:21 ` Francois Romieu
2002-09-29 13:49 ` Krzysztof Halasa
2002-09-30 20:54 ` Francois Romieu
2002-09-30 23:48 ` Krzysztof Halasa
2002-10-01 18:01 ` Francois Romieu
2002-10-01 22:09 ` Krzysztof Halasa [this message]
2002-10-02 16:30 Kevin Curtis
2002-10-10 16:27 Pavel Selivanov
2002-10-10 19:08 ` Francois Romieu
2002-10-15 20:20 ` Krzysztof Halasa
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=m3fzvpolpe.fsf@defiant.pm.waw.pl \
--to=khc@pm.waw.pl \
--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;
as well as URLs for NNTP newsgroup(s).