From: Loic Poulain Date: Mon, 23 Jun 2014 15:42:44 +0000 (+0200) Subject: Bluetooth: Ignore H5 non-link packets in non-active state X-Git-Tag: omap-for-v3.17/fixes-against-rc2~215^2~11^2~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48439d501e3d9e8634bdc0c418e066870039599d;p=pandora-kernel.git Bluetooth: Ignore H5 non-link packets in non-active state When detecting a non-link packet, h5_reset_rx() frees the Rx skb. Not returning after that will cause the upcoming h5_rx_payload() call to dereference a now NULL Rx skb and trigger a kernel oops. Signed-off-by: Loic Poulain Signed-off-by: Marcel Holtmann Cc: stable@vger.kernel.org --- Reading git-diff-tree failed