]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: synproxy: correct wscale option passing
authorMartin Topholm <mph@one.com>
Thu, 14 Nov 2013 14:35:31 +0000 (15:35 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Nov 2013 11:53:38 +0000 (12:53 +0100)
commit57cb9814788845a2365fef663f1d752dbbb66705
tree869130e70b5c9b01734bbb3211a4fdb45c8dde9a
parented5353c1c5d1aea1fef73bbd8712aedb1ab4af01
netfilter: synproxy: correct wscale option passing

Timestamp are used to store additional syncookie parameters such as sack,
ecn, and wscale. The wscale value we need to encode is the client's
wscale, since we can't recover that later in the session. Next overwrite
the wscale option so the later synproxy_send_client_synack will send
the backend's wscale to the client.

Signed-off-by: Martin Topholm <mph@one.com>
Reviewed-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_synproxy_core.c