-
Colin Ian King authored
The call to alloc_skb with the GFP_KERNEL flag can return a null sk_buff pointer, so add a null check to avoid any null pointer deference issues. Addresses-Coverity: ("Dereference null return value") Fixes: afd2daa2 ("Bluetooth: Add support for virtio transport driver") Signed-off-by:
Colin Ian King <colin.king@canonical.com> Signed-off-by:
Marcel Holtmann <marcel@holtmann.org>
Colin Ian King authoredThe call to alloc_skb with the GFP_KERNEL flag can return a null sk_buff pointer, so add a null check to avoid any null pointer deference issues. Addresses-Coverity: ("Dereference null return value") Fixes: afd2daa2 ("Bluetooth: Add support for virtio transport driver") Signed-off-by:
Colin Ian King <colin.king@canonical.com> Signed-off-by:
Marcel Holtmann <marcel@holtmann.org>
Loading