• Herbert Xu's avatar
    gro: Fix frag_list merging on imprecisely split packets · 56035022
    Herbert Xu authored
    The previous fix ad0f9904 (gro:
    Fix handling of imprecisely split packets) only fixed the case
    of frags merging, frag_list merging in the same circumstances
    were still broken.
    
    In particular, the packet headers end up in the data stream.
    
    This patch fixes this plus another issue where an imprecisely
    split packet header may be read incorrectly (this is mostly
    harmless since it'll simply cause the packet to not match and
    be rejected for GRO).
    
    Thanks to Emil Tantilov and Jeff Kirsher for helping to track
    this down.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    56035022
dev.c 128 KB