Bluetooth: Use kzfree instead of kfree in security manager
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Mar 2015 08:10:18 +0000 (01:10 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Mar 2015 08:30:53 +0000 (10:30 +0200)
commit276812ec3e945493443e399921a07e9d6aa4d5b2
tree3182e8a715c7e6a3f1a5b6bcd213dfbf4558368b
parentaefedc1a4cfe4c874b8a7ac743f9deedc289d9e6
Bluetooth: Use kzfree instead of kfree in security manager

Within the security manager, it makes sense to use kzfree instead of
kfree for all data structures. This ensures that no key material leaks
by accident.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/smp.c