[NETFILTER]: Use HOPLIMIT metric as TTL of TCP reset sent by REJECT
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Thu, 5 Jan 2006 20:28:57 +0000 (12:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jan 2006 20:28:57 +0000 (12:28 -0800)
commite8eaedf2f8b368c26aa31a5a5a623b6867ef7f2b
tree3085c59beafdf6add373be3cc484c8ce510e615a
parent0ae2cfe7f3d88f061aa2656c7e881d3a0697d622
[NETFILTER]: Use HOPLIMIT metric as TTL of TCP reset sent by REJECT

HOPLIMIT metric is appropriate to TCP reset sent by REJECT target
than hard-coded max TTL. Thanks to David S. Miller for hint.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ipt_REJECT.c