[TCP]: Consider GSO while counting reord in sacktag
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Sun, 11 Nov 2007 05:20:59 +0000 (21:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 05:20:59 +0000 (21:20 -0800)
commit8dd71c5d28cd88d4400e7f474986e799e39aff37
treebf40818d0f79b579c20ab0273e7a5730352d442c
parent9e4505c459440a41fd466451cf840dec5c957eeb
[TCP]: Consider GSO while counting reord in sacktag

Reordering detection fails to take account that the reordered
skb may have pcount larger than 1. In such case the lowest of
them had the largest reordering, the old formula used the
highest of them which is pcount - 1 packets less reordered.

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