]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix skb allocation check for A2MP
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 22 Dec 2012 03:22:53 +0000 (01:22 -0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 7 Mar 2014 18:09:41 +0000 (20:09 +0200)
commitcb6acb24ec6c8a68cfd58b8973b8e82679dd5474
tree46344bf69ff8d78cda46013792c22d1f4e7f1f62
parent088fcd6a40400125c90f0c8afe607a7eb0d33c00
Bluetooth: Fix skb allocation check for A2MP

vtable's method alloc_skb() needs to return a ERR_PTR in case of err and
not a NULL.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/a2mp.c