diff options
author | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2019-07-10 13:05:59 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-08-03 19:39:08 +0300 |
commit | 8c0bb7873815bf8c3c4dfb24e8ebf4fefb4c35d2 (patch) | |
tree | fad78b2564da9b806c6aa29d058d0c6fd3b41dee /net/netfilter/nft_synproxy.c | |
parent | 4de97b0c86fcf9a225dff465f1614c834c2eeea6 (diff) | |
download | linux-8c0bb7873815bf8c3c4dfb24e8ebf4fefb4c35d2.tar.xz |
netfilter: synproxy: rename mss synproxy_options field
After introduce "mss_encode" field in the synproxy_options struct the field
"mss" is a little confusing. It has been renamed to "mss_option".
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_synproxy.c')
-rw-r--r-- | net/netfilter/nft_synproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nft_synproxy.c b/net/netfilter/nft_synproxy.c index 928e661d1517..db4c23f5dfcb 100644 --- a/net/netfilter/nft_synproxy.c +++ b/net/netfilter/nft_synproxy.c @@ -31,8 +31,8 @@ static void nft_synproxy_tcp_options(struct synproxy_options *opts, opts->options |= NF_SYNPROXY_OPT_ECN; opts->options &= priv->info.options; - opts->mss_encode = opts->mss; - opts->mss = info->mss; + opts->mss_encode = opts->mss_option; + opts->mss_option = info->mss; if (opts->options & NF_SYNPROXY_OPT_TIMESTAMP) synproxy_init_timestamp_cookie(info, opts); else |