• D
    net: Kill skb_truesize_check(), it only catches false-positives. · 92a0acce
    David S. Miller 提交于
    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: NDavid S. Miller <davem@davemloft.net>
    92a0acce
skbuff.c 71.8 KB