From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755889Ab0EGJzY (ORCPT ); Fri, 7 May 2010 05:55:24 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:38770 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755533Ab0EGJzW convert rfc822-to-8bit (ORCPT ); Fri, 7 May 2010 05:55:22 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jAs9L0vUk0/E1nwJcHQFYtItUqktLKLaZfQ5mizoIxzul5NfJjkmIjB3JoUrAyyY3X 0Xes6jLxlLj7jyEXzEZDyDpAb9axmIh3jSAFiJA+3i3LTbA3tAlEd9V9rWLO73rk2/s4 mNsZwv2yOjSLYaH2agteJG/oogWkzQa3jjbuU= MIME-Version: 1.0 In-Reply-To: <4BE3E2DE.2030508@tuxonice.net> References: <4BE3DF5A.9070601@tuxonice.net> <4BE3E2DE.2030508@tuxonice.net> Date: Fri, 7 May 2010 17:55:21 +0800 Message-ID: Subject: Re: [PATCH] Check kmalloc return value before use the buffer From: Steven Liu To: Nigel Cunningham Cc: Linus WALLEIJ , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, guy, Thanks for your help, :) Best Regards LiuQi 2010/5/7 Nigel Cunningham : > Hi. > > On 07/05/10 19:50, Steven Liu wrote: >> >> Check kmalloc return value before use the bigrxbuf_virtual ,when >> bigrxbuf_virtual is NULL, kfree  bigtxbuf_virtual > > Ta :) > > Nigel >