Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756169Ab0AFTk2 (ORCPT ); Wed, 6 Jan 2010 14:40:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756026Ab0AFTk0 (ORCPT ); Wed, 6 Jan 2010 14:40:26 -0500 Received: from fg-out-1718.google.com ([72.14.220.154]:20113 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756014Ab0AFTkZ (ORCPT ); Wed, 6 Jan 2010 14:40:25 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=UX4fEQfBVFqW5tayHLI7kyCTKhPSBzfGoa/2nDjB+vk7Be0LfjLcmNyUf/gQarOr2b 8jQT5dhrGRkW4k8QvXFjv1jdRPnLUz1HMN88HulMr9GSRmAmUOD3M+HKb8DgKKZYkqnz paJS2tD8XNXsAU7Ebp7avmNkAcQjl5CiWvv4c= Date: Wed, 6 Jan 2010 20:40:17 +0100 From: Jarek Poplawski To: Stephen Hemminger 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: <20100106194017.GA3354@del.dom.local> References: <20100105230746.GA6612@del.dom.local> <4B43F72C.9090004@majjas.com> <20100106072208.GA6711@ff.dom.local> <20100106091532.GA10201@ff.dom.local> <20100106064957.3be271b8@nehalam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100106064957.3be271b8@nehalam> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 907 Lines: 25 On Wed, Jan 06, 2010 at 06:49:57AM -0800, Stephen Hemminger wrote: > 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 First of all, we're incredibly lucky that such a helpful guy as Michael had misfortune to hit so helpfully broken piece of hardware ;-) Thanks, Jarek P. -- 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/