[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202407162110.8Xuwy6GR-lkp@intel.com>
Date: Tue, 16 Jul 2024 22:00:35 +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 v5 09/17] xfrm: iptfs: add user packet (tunnel
ingress) handling
Hi Christian,
kernel test robot noticed the following build errors:
[auto build test ERROR on klassert-ipsec-next/master]
[also build test ERROR on next-20240716]
[cannot apply to klassert-ipsec/master netfilter-nf/main linus/master nf-next/master v6.10]
[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/xfrm-config-add-CONFIG_XFRM_IPTFS/20240715-042948
base: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git master
patch link: https://lore.kernel.org/r/20240714202246.1573817-10-chopps%40chopps.org
patch subject: [PATCH ipsec-next v5 09/17] xfrm: iptfs: add user packet (tunnel ingress) handling
config: i386-randconfig-061-20240716 (https://download.01.org/0day-ci/archive/20240716/202407162110.8Xuwy6GR-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240716/202407162110.8Xuwy6GR-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/202407162110.8Xuwy6GR-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: net/xfrm/xfrm_iptfs.o: in function `iptfs_user_init':
>> net/xfrm/xfrm_iptfs.c:586:(.text+0x2a0): undefined reference to `__udivdi3'
vim +586 net/xfrm/xfrm_iptfs.c
547
548 /**
549 * iptfs_user_init() - initialize the SA with IPTFS options from netlink.
550 * @net: the net data
551 * @x: xfrm state
552 * @attrs: netlink attributes
553 * @extack: extack return data
554 */
555 static int iptfs_user_init(struct net *net, struct xfrm_state *x,
556 struct nlattr **attrs,
557 struct netlink_ext_ack *extack)
558 {
559 struct xfrm_iptfs_data *xtfs = x->mode_data;
560 struct xfrm_iptfs_config *xc;
561
562 xc = &xtfs->cfg;
563 xc->max_queue_size = net->xfrm.sysctl_iptfs_max_qsize;
564 xtfs->init_delay_ns =
565 (u64)net->xfrm.sysctl_iptfs_init_delay * NSECS_IN_USEC;
566
567 if (attrs[XFRMA_IPTFS_PKT_SIZE]) {
568 xc->pkt_size = nla_get_u32(attrs[XFRMA_IPTFS_PKT_SIZE]);
569 if (!xc->pkt_size) {
570 xtfs->payload_mtu = 0;
571 } else if (xc->pkt_size > x->props.header_len) {
572 xtfs->payload_mtu = xc->pkt_size - x->props.header_len;
573 } else {
574 NL_SET_ERR_MSG(extack,
575 "Packet size must be 0 or greater than IPTFS/ESP header length");
576 return -EINVAL;
577 }
578 }
579 if (attrs[XFRMA_IPTFS_MAX_QSIZE])
580 xc->max_queue_size = nla_get_u32(attrs[XFRMA_IPTFS_MAX_QSIZE]);
581 if (attrs[XFRMA_IPTFS_INIT_DELAY])
582 xtfs->init_delay_ns =
583 (u64)nla_get_u32(attrs[XFRMA_IPTFS_INIT_DELAY]) *
584 NSECS_IN_USEC;
585
> 586 xtfs->ecn_queue_size = (u64)xc->max_queue_size * 95 / 100;
587
588 return 0;
589 }
590
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists