commit | d793fe8caa3911e6a1e826b45d4ee00d250cdec8 | [log] [tgz] |
---|---|---|
author | Nathan Holstein <nathan.holstein@gmail.com> | Fri Oct 15 11:54:02 2010 -0400 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Sun Oct 17 21:19:19 2010 -0200 |
tree | 7b89346a23d81e5ca5c7d57d2f51c5fc32f34f8a | |
parent | cd07202cc8262e1669edff0d97715f3dd9260917 [diff] |
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 <nathan.holstein@gmail.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>