net: rmnet_data: Stop adding pad bytes for MAPv3 uplink packets
Hardware does not require pad bytes in egress packets when uplink aggregation is not enabled. CRs-Fixed: 1002396 Change-Id: I86459b7bc18da16b66f6c701ac324f28be8848fa Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
This commit is contained in:
parent
28e988cc2f
commit
8cfd4a1557
1 changed files with 2 additions and 4 deletions
|
@ -516,10 +516,8 @@ static int rmnet_map_egress_handler(struct sk_buff *skb,
|
|||
rmnet_stats_ul_checksum(ckresult);
|
||||
}
|
||||
|
||||
if (((config->egress_data_format &
|
||||
RMNET_EGRESS_FORMAT_MAP_CKSUMV4) &&
|
||||
(!(config->egress_data_format &
|
||||
RMNET_EGRESS_FORMAT_AGGREGATION))) ||
|
||||
if ((!(config->egress_data_format &
|
||||
RMNET_EGRESS_FORMAT_AGGREGATION)) ||
|
||||
((orig_dev->features & NETIF_F_GSO) && skb_is_nonlinear(skb)))
|
||||
map_header = rmnet_map_add_map_header
|
||||
(skb, additional_header_length, RMNET_MAP_NO_PAD_BYTES);
|
||||
|
|
Loading…
Add table
Reference in a new issue