Re: [PATCH] net/ncsi: fix checksum validation in response packet

From: David Miller
Date: Mon Apr 17 2017 - 13:36:26 EST


From: Cédric Le Goater <clg@xxxxxxxx>
Date: Fri, 14 Apr 2017 10:56:37 +0200

> htonl was used instead of ntohl. Surely a typo.
>
> Signed-off-by: Cédric Le Goater <clg@xxxxxxxx>

I don't think so, "checksum" is of type "u32" thus is in host byte
order. Therefore "htonl()" is correct.