commit | a6187ffdfcc854ce4d97f307e12508a4bde8bcf3 | [log] [tgz] |
---|---|---|
author | Loic Poulain <loic.poulain@intel.com> | Tue May 23 11:51:00 2017 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue May 23 16:19:38 2017 +0200 |
tree | 01d4ffd7504f07588b22ccc439a86a3b6a5627f2 | |
parent | 823b84201f4a719414d61b105fd23706c5668ab5 [diff] |
Bluetooth: btwilink: Fix unexpected skb free The caller (hci_core) still owns the skb in case of error, releasing it inside the send function can lead to use-after-free errors. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Loic Poulain <loic.poulain@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>