From: Alexander Aring Date: Wed, 8 Oct 2014 08:24:53 +0000 (+0200) Subject: Bluetooth: 6lowpan: fix skb_unshare behaviour X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~5^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0c42cd7b210efc74aa4bfc3e39a2814dfaa9b89;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann Cc: stable@vger.kernel.org # 3.18.x --- Reading git-diff-tree failed