Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758175Ab3ETUme (ORCPT ); Mon, 20 May 2013 16:42:34 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:37706 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756550Ab3ETUmc (ORCPT ); Mon, 20 May 2013 16:42:32 -0400 Date: Mon, 20 May 2013 13:42:32 -0700 (PDT) Message-Id: <20130520.134232.344940542336017991.davem@davemloft.net> To: petkan@nucleusys.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, romieu@fr.zoreil.com Subject: Re: [PATCH] drivers: net: usb: rtl8150: concurrent URB bugfix From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (shards.monkeyblade.net [0.0.0.0]); Mon, 20 May 2013 13:42:32 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 786 Lines: 20 From: Petko Manolov Date: Mon, 20 May 2013 12:08:47 +0300 (EEST) > From: Petko Manolov > > This patch fixes a potential race with concurrently running asynchronous > write requests. The values for device's RX control register are now > stored in dynamically allocated buffers so each URB submission has it's > own copy. Doing it the old way is data clobbering prone. > > This patch is against latest 'net' tree. > > Signed-off-by: Petko Manolov Applied, thanks. -- 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/