From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Ben Collins <bcollins@debian.org>
Cc: Sushant Sharma <sushant@cs.unm.edu>, linux-kernel@vger.kernel.org
Subject: Re: when is alloc_skb called
Date: Sat, 26 Jun 2004 02:16:49 -0300 [thread overview]
Message-ID: <40DD06C1.9080908@conectiva.com.br> (raw)
In-Reply-To: <20040607225744.GA26253@phunnypharm.org>
Ben Collins wrote:
> On Mon, Jun 07, 2004 at 03:29:14PM -0600, Sushant Sharma wrote:
>
>>Hi All
>>
>>I want to know which are the evnets
>>that can lead to the calling of alloc_skb
>>function which is used to allocate sk_buff.
>>Arrival and departure of packet are 2 events
>>which I know. Are there any other events/cases
>>which can lead to alloc_skb(...) function call in kernel.
>
>
> Some non-network related drivers use skb's for non-network related
> things (ieee1394 is one such abuser).
>
And some network protocol stacks use it to report events, like
connection requests, etc see the x25 code, for instance
(x25_establish_link, x25_terminate_link), sometimes allocating
1 byte, sometimes using the skb->cb scratch area.
- Arnaldo
prev parent reply other threads:[~2004-06-27 4:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-07 21:29 when is alloc_skb called Sushant Sharma
2004-06-07 22:57 ` Ben Collins
2004-06-26 5:16 ` Arnaldo Carvalho de Melo [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=40DD06C1.9080908@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=bcollins@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sushant@cs.unm.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.