lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 21 Feb 2024 07:16:49 +0800
From: kernel test robot <lkp@...el.com>
To: Christian Hopps <chopps@...pps.org>, devel@...ux-ipsec.org
Cc: oe-kbuild-all@...ts.linux.dev,
	Steffen Klassert <steffen.klassert@...unet.com>,
	netdev@...r.kernel.org, Christian Hopps <chopps@...pps.org>
Subject: Re: [PATCH ipsec-next v1 8/8] iptfs: impl: add new iptfs xfrm mode
 impl

Hi Christian,

kernel test robot noticed the following build errors:

[auto build test ERROR on klassert-ipsec-next/master]
[also build test ERROR on klassert-ipsec/master netfilter-nf/main linus/master v6.8-rc5 next-20240220]
[cannot apply to nf-next/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Christian-Hopps/iptfs-config-add-CONFIG_XFRM_IPTFS/20240219-171931
base:   https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git master
patch link:    https://lore.kernel.org/r/20240219085735.1220113-9-chopps%40chopps.org
patch subject: [PATCH ipsec-next v1 8/8] iptfs: impl: add new iptfs xfrm mode impl
config: i386-randconfig-r063-20240220 (https://download.01.org/0day-ci/archive/20240221/202402210751.pKXknmd9-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240221/202402210751.pKXknmd9-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402210751.pKXknmd9-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: net/xfrm/xfrm_iptfs.o: in function `iptfs_copy_to_user':
>> net/xfrm/xfrm_iptfs.c:2624: undefined reference to `__udivdi3'
>> ld: net/xfrm/xfrm_iptfs.c:2628: undefined reference to `__udivdi3'


vim +2624 net/xfrm/xfrm_iptfs.c

  2602	
  2603	static int iptfs_copy_to_user(struct xfrm_state *x, struct sk_buff *skb)
  2604	{
  2605		struct xfrm_iptfs_data *xtfs = x->mode_data;
  2606		struct xfrm_iptfs_config *xc = &xtfs->cfg;
  2607		int ret;
  2608	
  2609		if (xc->dont_frag) {
  2610			ret = nla_put_flag(skb, XFRMA_IPTFS_DONT_FRAG);
  2611			if (ret)
  2612				return ret;
  2613		}
  2614		ret = nla_put_u16(skb, XFRMA_IPTFS_REORDER_WINDOW, xc->reorder_win_size);
  2615		if (ret)
  2616			return ret;
  2617		ret = nla_put_u32(skb, XFRMA_IPTFS_PKT_SIZE, xc->pkt_size);
  2618		if (ret)
  2619			return ret;
  2620		ret = nla_put_u32(skb, XFRMA_IPTFS_MAX_QSIZE, xc->max_queue_size);
  2621		if (ret)
  2622			return ret;
  2623		ret = nla_put_u32(skb, XFRMA_IPTFS_DROP_TIME,
> 2624				  xtfs->drop_time_ns / NSECS_IN_USEC);
  2625		if (ret)
  2626			return ret;
  2627		ret = nla_put_u32(skb, XFRMA_IPTFS_INIT_DELAY,
> 2628				  xtfs->init_delay_ns / NSECS_IN_USEC);
  2629		return ret;
  2630	}
  2631	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ