Bluetooth: hidp_connection_add() unsafe use of l2cap_pi()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 19 Dec 2014 06:20:57 +0000 (06:20 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 19 Dec 2014 12:40:07 +0000 (13:40 +0100)
commit51bda2bca53b265715ca1852528f38dc67429d9a
tree2e8721c2ce2556a9d4d636f4b5497af938f7b4e2
parent004fa5ed08cc5d3188db42c05d6b80feaae004c2
Bluetooth: hidp_connection_add() unsafe use of l2cap_pi()

it's OK after we'd verified the sockets, but not before that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hidp/core.c