Re: [PATCH] fix oops in l2cap_connect_req
From: Gustavo F. Padovan
Date: Sat Oct 16 2010 - 19:26:15 EST
Hi Nathan,
* Nathan Holstein <nathan.holstein@xxxxxxxxx> [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 <nathan.holstein@xxxxxxxxx>
> ---
> net/bluetooth/l2cap.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
--
Gustavo F. Padovan
ProFUSION embedded systems - http://profusion.mobi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/