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

Commit 1e748c66 authored by Sean Tranchetti's avatar Sean Tranchetti
Browse files

net: qualcomm: rmnet: Fix skb->csum_start value



Now that we can reuse the original SKB from the lower level drivers
during RSB/RSC processing, we can no longer assume that the transport
header offset is set when stamping the GSO information.

Change-Id: I017c089bfc99eae6a07b2f60632c9e4ffac89de1
Signed-off-by: default avatarSean Tranchetti <stranche@codeaurora.org>
parent d2bf0661
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -659,7 +659,7 @@ static void rmnet_map_gso_stamp(struct sk_buff *skb,
	}

	skb->ip_summed = CHECKSUM_PARTIAL;
	skb->csum_start = skb_transport_header(skb) - skb->head;
	skb->csum_start = skb->data + coal_meta->ip_len - skb->head;
	shinfo->gso_size = coal_meta->data_len;
	shinfo->gso_segs = coal_meta->pkt_count;
}