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

Daniel Borkmann daniel at iogearbox.net
Mon Oct 21 06:41:32 PDT 2024


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 at kernel.org>

Acked-by: Daniel Borkmann <daniel at iogearbox.net>



More information about the linux-riscv mailing list