5904122c46
now that can be done conveniently - all non-trivial cases have _HAVE_ARCH_COPY_AND_CSUM_FROM_USER defined, so the fallback in net/checksum.h is used only for dummy (copy_from_user, then csum_partial) implementation. Allowing us to get rid of all dummy instances, both of csum_and_copy_from_user() and csum_partial_copy_from_user(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
12 lines
264 B
C
12 lines
264 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
*/
|
|
#include <linux/module.h>
|
|
#include <net/checksum.h>
|
|
|
|
/* These are from csum_64plus.S */
|
|
EXPORT_SYMBOL(csum_partial);
|
|
EXPORT_SYMBOL(csum_partial_copy);
|
|
EXPORT_SYMBOL(ip_compute_csum);
|
|
EXPORT_SYMBOL(ip_fast_csum);
|