From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755016AbXLKBRT (ORCPT ); Mon, 10 Dec 2007 20:17:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752131AbXLKBRL (ORCPT ); Mon, 10 Dec 2007 20:17:11 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:52099 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751840AbXLKBRK (ORCPT ); Mon, 10 Dec 2007 20:17:10 -0500 Date: Mon, 10 Dec 2007 17:17:10 -0800 (PST) Message-Id: <20071210.171710.76672365.davem@davemloft.net> To: julia@diku.dk Cc: chris@zankel.net, wangchen@cn.fujitsu.com, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 2/3] Fix use of skb after netif_rx From: David Miller In-Reply-To: References: X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) 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 From: Julia Lawall Date: Sun, 9 Dec 2007 21:03:55 +0100 (CET) > From: Julia Lawall > > Recently, Wang Chen submitted a patch > (d30f53aeb31d453a5230f526bea592af07944564) to move a call to netif_rx(skb) > after a subsequent reference to skb, because netif_rx may call kfree_skb on > its argument. The same problem occurs in some other drivers as well. > > This was found using the following semantic match. > (http://www.emn.fr/x-info/coccinelle/) ... > Signed-off-by: Julia Lawall Also applied, thanks.