Bluetooth: bnep: bnep_add_connection() should verify that it's dealing with l2cap...
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 19 Dec 2014 06:20:59 +0000 (06:20 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 1 Jan 2018 20:51:04 +0000 (20:51 +0000)
commitd5623517462d7bdf03cae13e8b713389b0cdd381
tree4a8cbe87e430e9ab53eb70146448c94c456089fe
parent16a6be25e09c31cb2825107886e5d22e61440413
Bluetooth: bnep: bnep_add_connection() should verify that it's dealing with l2cap socket

commit 71bb99a02b32b4cc4265118e85f6035ca72923f0 upstream.

same story as cmtp

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/bluetooth/bnep/core.c