Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 21 Feb 2003 00:28:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 21 Feb 2003 00:28:06 -0500 Received: from rth.ninka.net ([216.101.162.244]:4520 "EHLO rth.ninka.net") by vger.kernel.org with ESMTP id ; Fri, 21 Feb 2003 00:28:05 -0500 Subject: Re: [ATM] who 'owns' the skb created by drivers/atm? From: "David S. Miller" To: James Morris Cc: chas williams , linux-kernel@vger.kernel.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 20 Feb 2003 22:22:50 -0800 Message-Id: <1045808570.22228.2.camel@rth.ninka.net> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 619 Lines: 15 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/