aboutsummaryrefslogtreecommitdiffstats
path: root/net/hsr
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-09-04 12:22:46 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-09-17 12:28:27 +0200
commitd8949aad3eab5d396f4fefcd581773bf07b9a79e (patch)
tree3f3f0b3c775621eef856097a6c5ef7847452f502 /net/hsr
parentdccp: drop null test before destroy functions (diff)
downloadlinux-dev-d8949aad3eab5d396f4fefcd581773bf07b9a79e.tar.xz
linux-dev-d8949aad3eab5d396f4fefcd581773bf07b9a79e.zip
Bluetooth: Delay check for conn->smp in smp_conn_security()
There are several actions that smp_conn_security() might make that do not require a valid SMP context (conn->smp pointer). One of these actions is to encrypt the link with an existing LTK. If the SMP context wasn't initialized properly we should still allow the independent actions to be done, i.e. the check for the context should only be done at the last possible moment. Reported-by: Chuck Ebbert <cebbert.lkml@gmail.com> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: stable@vger.kernel.org # 4.0+
Diffstat (limited to 'net/hsr')
0 files changed, 0 insertions, 0 deletions