Files
linux/net
Xin Long bc09b25efe netfilter: nft_tunnel: no need to call htons() when dumping ports
commit cf3e204a1c upstream.

info->key.tp_src and tp_dst are __be16, when using nla_put_be16()
to dump them, htons() is not needed, so remove it in this patch.

Fixes: af308b94a2 ("netfilter: nf_tables: add tunnel support")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-05 16:42:23 +01:00
..
2019-10-11 18:21:12 +02:00
2019-06-22 08:15:13 +02:00
2019-12-05 09:21:30 +01:00
2020-01-17 19:47:07 +01:00
2018-07-24 14:10:42 -07:00
2020-01-29 16:43:24 +01:00
2019-01-09 17:38:33 +01:00
2018-07-24 14:10:43 -07:00
2020-01-17 19:47:07 +01:00