netfilter: nf_ct_tcp: don't scale the size of the window up twice
authorChangli Gao <xiaosuo@gmail.com>
Sun, 1 Apr 2012 17:25:06 +0000 (17:25 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 9 Apr 2012 14:29:30 +0000 (16:29 +0200)
For a picked up connection, the window win is scaled twice: one is by the
initialization code, and the other is by the sender updating code.

I use the temporary variable swin instead of modifying the variable win.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

No differences found