|
@@ -812,11 +812,17 @@ rmnet_frag_segment_coal_data(struct rmnet_frag_descriptor *coal_desc,
|
|
|
|
|
|
th = (struct tcphdr *)((u8 *)iph + coal_desc->ip_len);
|
|
|
coal_desc->trans_len = th->doff * 4;
|
|
|
+ priv->stats.coal.coal_tcp++;
|
|
|
+ priv->stats.coal.coal_tcp_bytes +=
|
|
|
+ skb_frag_size(&coal_desc->frag);
|
|
|
} else if (coal_desc->trans_proto == IPPROTO_UDP) {
|
|
|
struct udphdr *uh;
|
|
|
|
|
|
uh = (struct udphdr *)((u8 *)iph + coal_desc->ip_len);
|
|
|
coal_desc->trans_len = sizeof(*uh);
|
|
|
+ priv->stats.coal.coal_udp++;
|
|
|
+ priv->stats.coal.coal_udp_bytes +=
|
|
|
+ skb_frag_size(&coal_desc->frag);
|
|
|
if (coal_desc->ip_proto == 4 && !uh->check)
|
|
|
zero_csum = true;
|
|
|
} else {
|