• A
    net/core/dev: Warn on a too-short GRO frame · 4da46ceb
    Aaron Conole 提交于
    When signaling that a GRO frame is ready to be processed, the network stack
    correctly checks length and aborts processing when a frame is less than 14
    bytes. However, such a condition is really indicative of a broken driver,
    and should be loudly signaled, rather than silently dropped as the case is
    today.
    
    Convert the condition to use net_warn_ratelimited() to ensure the stack
    loudly complains about such broken drivers.
    Signed-off-by: NAaron Conole <aconole@bytheb.org>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    4da46ceb
dev.c 202.4 KB