Thread (12 messages) flat view 12 messages, 5 authors, 2008-08-15

Re: [Bugme-new] [Bug 11316] New: severe performance regression for iptables nat routing

From: Alex Williamson <hidden>
Date: 2008-08-15 05:50:15

Possibly related (same subject, not in this thread)

On Fri, 2008-08-15 at 15:35 +1000, Herbert Xu wrote:
On Fri, Aug 15, 2008 at 02:44:26PM +1000, Herbert Xu wrote:
quoted
Actually, I think know what's going on but a raw packet dump should
confirm whether we're getting a partial checksum.
Nevermind, I think I've found the problem.

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.
Nope, that doesn't fix it.  NAT'd throughput remains about the same.
Thanks,

	Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help