Re: [PATCH bpf-next 1/5] net: checksum: move from32to16() to generic header

From: Daniel Borkmann
Date: Mon Oct 21 2024 - 09:42:44 EST


On 10/21/24 2:21 PM, Puranjay Mohan wrote:
from32to16() is used by lib/checksum.c and also by
arch/parisc/lib/checksum.c. The next patch will use it in the
bpf_csum_diff helper.

Move from32to16() to the include/net/checksum.h as csum_from32to16() and
remove other implementations.

Signed-off-by: Puranjay Mohan <puranjay@xxxxxxxxxx>

Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>