Prev: tcp: harmonize tcp_vx_rcv header length assumptions
Next: UIO: Add a driver for Hilscher netX-based fieldbus cards
From: David Miller on 17 Feb 2010 19:00 From: William Allen Simpson <william.allen.simpson(a)gmail.com> Date: Sun, 14 Feb 2010 01:21:35 -0500 > Don't use output calculated tp->tcp_header_len for input decisions. > While the output header is usually the same as the input (same options > in both directions), that's a poor assumption. In particular, Sack > will > be different. Newer options are not guaranteed. And when SACK is present, tp->tcp_header_len will not match, and therefore we won't do the header prediction fast path, what is what we want. And, SACK presence doesn't change tp->tcp_header_len on transmit. Therefore, I see no need at all for this change. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |