Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755915Ab0AFOu2 (ORCPT ); Wed, 6 Jan 2010 09:50:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755871Ab0AFOu1 (ORCPT ); Wed, 6 Jan 2010 09:50:27 -0500 Received: from mail.vyatta.com ([76.74.103.46]:32778 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755767Ab0AFOu0 (ORCPT ); Wed, 6 Jan 2010 09:50:26 -0500 Date: Wed, 6 Jan 2010 06:49:57 -0800 From: Stephen Hemminger To: Jarek Poplawski Cc: Michael Breuer , David Miller , akpm@linux-foundation.org, flyboy@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH alt.2] af_packet: Don't use skb after dev_queue_xmit() Message-ID: <20100106064957.3be271b8@nehalam> In-Reply-To: <20100106091532.GA10201@ff.dom.local> References: <20100105230746.GA6612@del.dom.local> <4B43F72C.9090004@majjas.com> <20100106072208.GA6711@ff.dom.local> <20100106091532.GA10201@ff.dom.local> Organization: Vyatta X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.3; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 664 Lines: 20 On Wed, 6 Jan 2010 09:15:32 +0000 Jarek Poplawski wrote: > tpacket_snd() can change and kfree an skb after dev_queue_xmit(), > which is illegal. > > With debugging by: Stephen Hemminger > > Reported-by: Michael Breuer > Signed-off-by: Jarek Poplawski Good catch. Acked-by: Stephen Hemminger -- -- 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/