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

Commit 7b4f4cc8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: rmnet_data: Stop adding pad bytes for MAPv3 uplink packets"

parents 92be8ed9 c98c02b0
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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);