1 /* 2 * FIXME: old compatibility stuff, will be removed soon. 3 */ 4 5 #include <net/checksum.h> 6 csum_partial_copy(const char * src,char * dst,int len,int sum)7unsigned int csum_partial_copy( const char *src, char *dst, int len, int sum) 8 { 9 int src_err=0, dst_err=0; 10 11 sum = csum_partial_copy_generic ( src, dst, len, sum, &src_err, &dst_err); 12 13 if (src_err || dst_err) 14 printk("old csum_partial_copy_fromuser(), tell mingo to convert me.\n"); 15 16 return sum; 17 } 18 19 20