summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-08-15 14:56:37 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-15 19:52:01 -0700
commit04a0551c87363f100b04d28d7a15a632b70e18e7 (patch)
tree0e99521316fab64754104677c6fa6b6a63b3f922 /drivers/net/tun.c
parent6f85a124d819e1cf33b16d064a6a656fd448a735 (diff)
loopback: Drop obsolete ip_summed setting
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: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions