Re: [PATCH v3 2/2] Bluetooth: hci_uart: Fix dereferencing of ERR_PTR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chan-yeol,

> If h4_recv_buf() return ERR_PTR instead sk_buff pointer, it should be
> cleared once PTR_ERR is completed for the further dereference such as
> h4_recv(), or h4_close().
> 
> Signed-off-by: Chan-yeol Park <chanyeol.park@xxxxxxxxxxx>
> ---
> drivers/bluetooth/hci_ath.c | 1 +
> drivers/bluetooth/hci_bcm.c | 1 +
> drivers/bluetooth/hci_h4.c  | 1 +
> 3 files changed, 3 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux