From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756856Ab0JPX0J (ORCPT ); Sat, 16 Oct 2010 19:26:09 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:59390 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756784Ab0JPX0H (ORCPT ); Sat, 16 Oct 2010 19:26:07 -0400 Date: Sat, 16 Oct 2010 20:25:12 -0300 From: "Gustavo F. Padovan" To: Nathan Holstein Cc: linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org Subject: Re: [PATCH] fix oops in l2cap_connect_req Message-ID: <20101016232512.GB12187@vigoh> References: <20101014213709.GD9250@vigoh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Hi Nathan, * Nathan Holstein [2010-10-15 11:54:02 -0400]: > In error cases when the ACL is insecure or we fail to allocate a new > struct sock, we jump to the "response" label. If so, "sk" will be > null and the kernel crashes. > > Signed-off-by: Nathan Holstein > --- > net/bluetooth/l2cap.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. -- Gustavo F. Padovan ProFUSION embedded systems - http://profusion.mobi