Re: [PATCH v2] Bluetooth: hci_h4: Fix padding calculation error within h4_recv_buf()
From: Marcel Holtmann
Date: Tue Nov 16 2021 - 08:54:58 EST
> it is erroneous to calculate padding by subtracting length of type
> indication from skb->len, it will cause data analysis error for
> alignment which is greater than 1, so fixed by adding length of type
> indication with skb->len.
> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
> drivers/bluetooth/hci_h4.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.