]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: 6lowpan: Make sure skb exists before accessing it
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 29 Sep 2014 07:55:46 +0000 (10:55 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 29 Sep 2014 08:10:02 +0000 (10:10 +0200)
commit7b8a8640559848fb1ce79ab1e7f5da231f1f224e
tree724b9fd123e4917332d6ec0682d17720ea1f3bbd
parentb0c111cbdf7507148a107763854c8facbba10c4a
Bluetooth: 6lowpan: Make sure skb exists before accessing it

We need to make sure that the saved skb exists when
resuming or suspending a CoC channel. This can happen if
initial credits is 0 when channel is connected.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c