From: Jon Maloy <[email protected]> Date: Wed, 15 Nov 2017 21:23:56 +0100
> The socket level flow control is based on the assumption that incoming > buffers meet the condition (skb->truesize / roundup(skb->len) <= 4), > where the latter value is rounded off upwards to the nearest 1k number. > This does empirically hold true for the device drivers we know, but we > cannot trust that it will always be so, e.g., in a system with jumbo > frames and very small packets. > > We now introduce a check for this condition at packet arrival, and if > we find it to be false, we copy the packet to a new, smaller buffer, > where the condition will be true. We expect this to affect only a small > fraction of all incoming packets, if at all. > > Acked-by: Ying Xue <[email protected]> > Signed-off-by: Jon Maloy <[email protected]> Applied. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
