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

Commit 9d1769d1 authored by Sharat Masetty's avatar Sharat Masetty
Browse files

rmnet_data: skip padding count for non linear skbs



This patch addresses two issues
a) The original GSO patch had a condition to check
   for padding on a non linear skb and the egress
	 device, but the device name was incorrect leading
	 to the check always failing. This patch eliminates
	 the need for the check completely.

b) It is possible that the last frag in a GSO frame
   would not be size aligned to a word boundary. In
	 this and all cases involving a non linear skb
	 frame we should skip padding. The driver can
	 expect a non linear packet when Scatter Gather
	 feature is enabled on the device. This patch
	 does just that.

Change-Id: Ifea5b1ae26b154bb047044e4bc3ad579d0da7f6d
CRs-fixed: 990751
Acked-by: default avatarAshwanth Goli <ashwanth@qti.qualcomm.com>
Signed-off-by: default avatarSharat Masetty <smasetty@codeaurora.org>
parent 60d40c19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment