Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 701e04e5 authored by Praveen Kurapati's avatar Praveen Kurapati Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa3: Fix to handle LAN consumer packet without receiving EOT flag



Whenever packet received on LAN consumer pipe without EOT flag, adding
packet to skb frag list, LAN consumer pipe does not support to handle
fragment SKB. Add change to handle packet received on LAN consumer pipe
without EOT flag.

Change-Id: I430d873f63441c60dbb2f385eb4e6a8d265a840f
Acked-by: default avatarAkshay Pandit <pandit@qti.qualcomm.com>
Signed-off-by: default avatarPraveen Kurapati <pkurapat@codeaurora.org>
parent e10c3c8e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3036,7 +3036,9 @@ static struct sk_buff *handle_skb_completion(struct gsi_chan_xfer_notify
	INIT_LIST_HEAD(&rx_pkt->link);
	list_add_tail(&rx_pkt->link, head);

	if (notify->evt_id == GSI_CHAN_EVT_EOT) {
	/* Check added for handling LAN consumer packet without EOT flag */
	if (notify->evt_id == GSI_CHAN_EVT_EOT ||
		sys->ep->client == IPA_CLIENT_APPS_LAN_CONS) {
	/* go over the list backward to save computations on updating length */
		list_for_each_entry_safe_reverse(rx_pkt, tmp, head, link) {
			rx_skb = rx_pkt->data.skb;