tcp: Make SACK code to split only at mss boundaries
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 25 Nov 2008 05:13:50 +0000 (21:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2008 05:13:50 +0000 (21:13 -0800)
commitadb92db857ee2a0a2b925ccfbd560203c3f88aae
treefac842e439d3a6bcd54aef5ab72a53fa831119a9
parente8bae275d9354104f7ae24a48a90d1a6286e7bd9
tcp: Make SACK code to split only at mss boundaries

Sadly enough, this adds possible divide though we try to avoid
it by checking one mss as common case.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c