From: Mitchell Blank Jr <mitch@sfgoth.com>
To: "David S. Miller" <davem@redhat.com>
Cc: chas williams <chas@locutus.cmf.nrl.navy.mil>,
linux-kernel@vger.kernel.org
Subject: Re: [ATM] who 'owns' the skb created by drivers/atm?
Date: Thu, 20 Feb 2003 22:12:55 -0800 [thread overview]
Message-ID: <20030220221255.A11525@sfgoth.com> (raw)
In-Reply-To: <1045808570.22228.2.camel@rth.ninka.net>; from davem@redhat.com on Thu, Feb 20, 2003 at 10:22:50PM -0800
David S. Miller wrote:
> On Thu, 2003-02-20 at 17:42, James Morris wrote:
> > skb->cb is owned by whatever layer is currently processing the skb.
>
> Furthermore, once you netif_rx() an SKB it is no longer yours.
> It is owned by the networking stack.
>
> If the ATM layer wants to do fancy things and still pass the SKB
> to netif_rx(), _it_ should clone the SKB and give that clone to
> the ATM layer directly.
As far as I'm aware the ATM layer doesn't care what happens to the
SKB after it gets passed to netif_rx(), so I don't know why this would
be a problem. Some people seem to be suggesting that we need to zero
out ->cb before passing the SKB to netif_rx() but I don't see why
that would be neccesary.
-Mitch
next prev parent reply other threads:[~2003-02-21 6:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-21 1:18 [ATM] who 'owns' the skb created by drivers/atm? chas williams
2003-02-21 1:42 ` James Morris
2003-02-21 6:22 ` David S. Miller
2003-02-21 6:12 ` Mitchell Blank Jr [this message]
2003-02-21 6:00 ` David S. Miller
2003-02-21 6:24 ` Mitchell Blank Jr
2003-02-21 16:08 ` chas williams
2003-02-23 3:15 ` Werner Almesberger
2003-02-24 1:55 ` chas williams
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=20030220221255.A11525@sfgoth.com \
--to=mitch@sfgoth.com \
--cc=chas@locutus.cmf.nrl.navy.mil \
--cc=davem@redhat.com \
--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