• David S. Miller's avatar
    net: Kill skb_truesize_check(), it only catches false-positives. · 92a0acce
    David S. Miller authored
    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>
    92a0acce
sock.c 56.4 KB