Commit ee88f675 authored by Jeff Hugo's avatar Jeff Hugo Committed by Bryan Huntsman
Browse files

msm: bam_dmux: manipulate skb->truesize per packet



The truesize field of a skb is used by the TCP/IP framework to determine
the memory usage of a socket, and to control the TCP window size.  Since
the original skb buffer was preallocated before the packet size from BAM
was known, the truesize field is not accurate and results in the TCP window
closing faster than it should.

Manually change the truesize field in the skbs to accurately reflect the
size of each packet so that the TCP/IP framework has accurate data to base
it's statistics on.

CRs-Fixed: 310689
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent bfe9f472
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment