From: Nathan Holstein Date: Fri, 15 Oct 2010 15:54:02 +0000 (-0400) Subject: Bluetooth: fix oops in l2cap_connect_req X-Git-Tag: v2.6.37-rc1~147^2~2^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d793fe8caa3911e6a1e826b45d4ee00d250cdec8;p=pandora-kernel.git Bluetooth: fix oops in l2cap_connect_req 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 Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed