From: Marcel Holtmann Date: Sun, 6 Jul 2014 13:36:15 +0000 (+0200) Subject: Bluetooth: Fix memory leaking when hdev->send returns an error X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdc52faac5f341beaff036828b9459f7c8dd7296;p=pandora-kernel.git Bluetooth: Fix memory leaking when hdev->send returns an error The drivers are allowed to just return an error from hdev->send callback and in that case the driver does not own the SKB. Which means that the caller has to free the SKB. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed