netfilter: ip6t_SYNPROXY: remove magic number for hop_limit
authorLiping Zhang <liping.zhang@spreadtrum.com>
Mon, 28 Mar 2016 14:27:27 +0000 (22:27 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 29 Mar 2016 11:31:17 +0000 (13:31 +0200)
commit8fef24ca90fb79de8454e26e9f3eae6cc610de1a
tree8c77b8c042b62947691d6c07f1c2790e78613f2f
parent8d45ff22f1b43249f0cf1baafe0262ca10d1666e
netfilter: ip6t_SYNPROXY: remove magic number for hop_limit

Replace '64' with the per-net ipv6_devconf_all's hop_limit when
building the ipv6 header.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv6/netfilter/ip6t_SYNPROXY.c