netfilter: nf_ct_tcp: wrong multiplication of TCPOLEN_TSTAMP_ALIGNED in tcp_sack...
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 30 Aug 2011 13:46:13 +0000 (15:46 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 30 Aug 2011 13:46:13 +0000 (15:46 +0200)
commitbb9fc37358ffa9de1cc2b2b6f1a559b926ef50d9
tree14a1f7bad41e2a6ad00673f20f268a84627254fc
parent4a5cc84ae7e19fb7a72a30332ba67af43e0ad1ad
netfilter: nf_ct_tcp: wrong multiplication of TCPOLEN_TSTAMP_ALIGNED in tcp_sack skips fastpath

The wrong multiplication of TCPOLEN_TSTAMP_ALIGNED by 4 skips the fast path
for the timestamp-only option. Bug reported by Michael M. Builov (netfilter
bugzilla #738).

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_proto_tcp.c