Skip to content
Commit 92a0acce authored by David S. Miller's avatar David S. Miller
Browse files

net: Kill skb_truesize_check(), it only catches false-positives.



A long time ago we had bugs, primarily in TCP, where we would modify
skb->truesize (for TSO queue collapsing) in ways which would corrupt
the socket memory accounting.

skb_truesize_check() was added in order to try and catch this error
more systematically.

However this debugging check has morphed into a Frankenstein of sorts
and these days it does nothing other than catch false-positives.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 34edaa88
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment