Re: [PATCH] netfilter: conntrack: fix -Wformat

From: Jakub Kicinski
Date: Sat Nov 07 2020 - 12:52:27 EST


On Fri, 6 Nov 2020 23:55:50 -0800 Nick Desaulniers wrote:
> - ntohs(tuple->src.u.icmp.id));
> + (__be16)ntohs(tuple->src.u.icmp.id));

Joe has a point, besides __be16 clearly is not the right type here,
the result of ntohs is in host order.