From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 2/2] NET: ROSE: Don't use static buffer. Date: Sun, 26 Jul 2009 19:11:25 -0700 (PDT) Message-ID: <20090726.191125.253792670.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-hams@vger.kernel.org To: ralf@linux-mips.org Return-path: In-Reply-To: Sender: linux-hams-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Ralf Baechle Date: Sat, 25 Jul 2009 11:38:18 +0100 > The use of a static buffer in rose2asc() to return its result is not > threadproof and can result in corruption if multiple threads are trying > to use one of the procfs files based on rose2asc(). > > Signed-off-by: Ralf Baechle Looks good, applied, thanks!