Re: [ATM] who 'owns' the skb created by drivers/atm?

From: David S. Miller (davem@redhat.com)
Date: Fri Feb 21 2003 - 01:22:50 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:32 EST