netfilter: ipt_SYNPROXY: Pass snet into synproxy_send_tcp
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 25 Sep 2015 20:07:29 +0000 (15:07 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 29 Sep 2015 18:21:31 +0000 (20:21 +0200)
commit6a1d689d9f2953975df937be020ae60fa10a73c1
tree586ca5e27d9ca088e0bb43c78cbeae5bf3180760
parentd815d90bbbc08777c0e3a36f57b97fc4a4fb3150
netfilter: ipt_SYNPROXY: Pass snet into synproxy_send_tcp

ip6t_SYNPROXY already does this and this is needed so that we have a
struct net that can be passed down into ip_route_me_harder, so
that ip_route_me_harder can stop guessing it's context.

Along the way pass snet into synproxy_send_client_synack as this
is the only caller of synprox_send_tcp that is not passed snet
already.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/ipt_SYNPROXY.c