From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 In-Reply-To: Sender: linux-bluetooth-owner@vger.kernel.org List-ID: 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