[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191211215707.miwnzq2tg5rtdiwz@salvia>
Date: Wed, 11 Dec 2019 22:57:07 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Xin Long <lucien.xin@...il.com>
Cc: network dev <netdev@...r.kernel.org>,
netfilter-devel@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH nf-next 3/7] netfilter: nft_tunnel: no need to call
htons() when dumping ports
On Sun, Dec 08, 2019 at 12:41:33PM +0800, Xin Long wrote:
> 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.
>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
Acked-by: Pablo Neira Ayuso <pablo@...filter.org>
Powered by blists - more mailing lists