]> 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)
commitb781fefbc837f4065a75b18c8b8f78cf4c820764
tree869130e70b5c9b01734bbb3211a4fdb45c8dde9a
parent487f9421973125e637a489fe17202d75d2ee6869
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