netfilter: xt_TCPMSS: Get mtu only if clamp-mss-to-pmtu is specified
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 26 Sep 2013 07:00:30 +0000 (15:00 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 27 Sep 2013 14:17:59 +0000 (16:17 +0200)
commitde1389b11686f436c81d696b5a33eec2bc975665
tree90bc6a006f109fe8258c3781d3f6b76e68377e1b
parentb21613aeb649293946556410ff10dbb8c639f298
netfilter: xt_TCPMSS: Get mtu only if clamp-mss-to-pmtu is specified

This patch refactors the code to skip tcpmss_reverse_mtu if no
clamp-mss-to-pmtu is specified.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_TCPMSS.c