Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 22 Feb 2003 22:05:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 22 Feb 2003 22:05:50 -0500 Received: from almesberger.net ([63.105.73.239]:39688 "EHLO host.almesberger.net") by vger.kernel.org with ESMTP id ; Sat, 22 Feb 2003 22:05:49 -0500 Date: Sun, 23 Feb 2003 00:15:50 -0300 From: Werner Almesberger To: chas williams Cc: Mitchell Blank Jr , "David S. Miller" , linux-kernel@vger.kernel.org Subject: Re: [ATM] who 'owns' the skb created by drivers/atm? Message-ID: <20030223001550.I2791@almesberger.net> References: <20030220222404.B11525@sfgoth.com> <200302211608.h1LG8tGi014271@locutus.cmf.nrl.navy.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302211608.h1LG8tGi014271@locutus.cmf.nrl.navy.mil>; from chas@locutus.cmf.nrl.navy.mil on Fri, Feb 21, 2003 at 11:08:55AM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1436 Lines: 31 chas williams wrote: > In message <20030220222404.B11525@sfgoth.com>,Mitchell Blank Jr writes: >>Hmmmm.. I guess we've just been getting lucky before in that case - we've >>always just left the ATM_SKB() stuff in there. The "cb must be in virgin state" rule is indeed news to me. But maybe the rule has always been there, and nobody really noticed :-) > this is one option. the other would be to clone the skb and pass the > clone to the ip layer. the last option, and the one i prefer, would > be to make the atm drivers not modify skb->cb (or reset it) when passing > up the skb. the atm socket layer doesnt rely on it, and it would keep > the 'extra' processing to a minimum. I'm not sure this is the problem: as far as I remember, the ATM stack doesn't assume that other layers leave skb->cb intact. In fact, it shouldn't even touch an skb once it has been passed on. BTW, I'm happy that ATM finally has a maintainer again. Thanks, Chas ! - Werner -- _________________________________________________________________________ / Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net / /_http://www.almesberger.net/____________________________________________/ - 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/