• Herbert Xu's avatar
    loopback: Drop obsolete ip_summed setting · 04a0551c
    Herbert Xu authored
    Now that the network stack can handle inbound packets with partial
    checksums, we should no longer clobber the ip_summed field in the
    loopback driver.  This is because CHECKSUM_UNNECESSARY implies that
    the checksum field is actually valid which is not true for loopback
    packets since it's only partial (and thus complemented).
    
    This allows packets from lo to then be SNATed to an external source
    while still preserving the checksum's validity.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    04a0551c
loopback.c 5.56 KB