Jukka Rissanen a7807d73a0 Bluetooth: 6lowpan: Avoid memory leak if memory allocation fails
If skb_unshare() returns NULL, then we leak the original skb.
Solution is to use temp variable to hold the new skb.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2014-10-02 13:41:32 +03:00
..
2014-07-01 23:46:21 -07:00
2014-06-04 22:46:38 -07:00
2014-08-19 10:58:44 -07:00
2014-08-13 18:13:19 -06:00
2014-08-19 11:16:38 -07:00