diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-08 10:24:53 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-08 20:29:35 +0100 |
commit | b0c42cd7b210efc74aa4bfc3e39a2814dfaa9b89 (patch) | |
tree | d87c983453f86c5a95472417e68faf269aec6a0e /net/mac802154/ieee802154_i.h | |
parent | Bluetooth: Send mgmt_connected only if state is BT_CONFIG (diff) | |
download | linux-b0c42cd7b210efc74aa4bfc3e39a2814dfaa9b89.tar.xz linux-b0c42cd7b210efc74aa4bfc3e39a2814dfaa9b89.zip |
Bluetooth: 6lowpan: fix skb_unshare behaviour
This patch reverts commit:
a7807d73 ("Bluetooth: 6lowpan: Avoid memory leak if memory allocation
fails")
which was wrong suggested by Alexander Aring. The function skb_unshare
run also kfree_skb on failure.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org # 3.18.x
Diffstat (limited to 'net/mac802154/ieee802154_i.h')
0 files changed, 0 insertions, 0 deletions