Re: [PATCH 1/1 v2] Bluetooth: make the balance of judgement condition to fix a false report

2018-11-26 Thread Luiz Augusto von Dentz
Hi Marcel, On Thu, Nov 15, 2018 at 3:37 AM Zumeng Chen wrote: > > This patch is to balance the condition scope between hci_get_cmd_complete and > hci_event_packet about orig_skb as follows: > > if (req_complete_skb || event == HCI_EV_CMD_STATUS || > event == HCI_EV_CMD_COMPLETE

[PATCH 1/1 v2] Bluetooth: make the balance of judgement condition to fix a false report

2018-11-14 Thread Zumeng Chen
This patch is to balance the condition scope between hci_get_cmd_complete and hci_event_packet about orig_skb as follows: if (req_complete_skb || event == HCI_EV_CMD_STATUS || event == HCI_EV_CMD_COMPLETE) orig_skb = skb_clone(skb, GFP_KERNEL); And hci_get_cmd_