All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [kkdwivedi:bpf-napi 37/46] net/ipv4/tcp_output.c:3307: undefined reference to `__tcp_bpf_tx_defer'
Date: Tue, 10 Nov 2026 21:10:30 +0100	[thread overview]
Message-ID: <202611102113.Mdm4eGif-lkp@intel.com> (raw)

tree:   https://github.com/kkdwivedi/linux bpf-napi
head:   447e73927e821b61da411e58b9444d831373f359
commit: 7a9d3d30a1aaf04d812c1ccb01d50db1cb62083b [37/46] tcp: Let a BPF kthread do the xmit work of sockets assigned to it
config: xtensa-randconfig-2000-20261110 (https://download.01.org/0day-ci/archive/20261110/202611102113.Mdm4eGif-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261110/202611102113.Mdm4eGif-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611102113.Mdm4eGif-lkp@intel.com/

All errors (new ones prefixed by >>):

   `.exit.text' referenced in section `__jump_table' of fs/fuse/inode.o: defined in discarded section `.exit.text' of fs/fuse/inode.o
   `.exit.text' referenced in section `__jump_table' of fs/fuse/inode.o: defined in discarded section `.exit.text' of fs/fuse/inode.o
   `.exit.text' referenced in section `__jump_table' of drivers/target/target_core_configfs.o: defined in discarded section `.exit.text' of drivers/target/target_core_configfs.o
   `.exit.text' referenced in section `__jump_table' of drivers/target/target_core_configfs.o: defined in discarded section `.exit.text' of drivers/target/target_core_configfs.o
   `.exit.text' referenced in section `__jump_table' of net/bluetooth/6lowpan.o: defined in discarded section `.exit.text' of net/bluetooth/6lowpan.o
   `.exit.text' referenced in section `__jump_table' of net/bluetooth/6lowpan.o: defined in discarded section `.exit.text' of net/bluetooth/6lowpan.o
   `.exit.text' referenced in section `__jump_table' of net/bluetooth/6lowpan.o: defined in discarded section `.exit.text' of net/bluetooth/6lowpan.o
   `.exit.text' referenced in section `__jump_table' of net/bluetooth/6lowpan.o: defined in discarded section `.exit.text' of net/bluetooth/6lowpan.o
   `.exit.text' referenced in section `__jump_table' of net/bluetooth/6lowpan.o: defined in discarded section `.exit.text' of net/bluetooth/6lowpan.o
   `.exit.text' referenced in section `__jump_table' of net/bluetooth/6lowpan.o: defined in discarded section `.exit.text' of net/bluetooth/6lowpan.o
   drivers/clocksource/timer-mediatek.o: in function `mtk_timer_probe':
   drivers/clocksource/timer-mediatek.c:356:(.text+0x50a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: *UND*
   `.exit.text' referenced in section `__jump_table' of net/netfilter/ipset/ip_set_core.o: defined in discarded section `.exit.text' of net/netfilter/ipset/ip_set_core.o
   `.exit.text' referenced in section `__jump_table' of net/netfilter/ipset/ip_set_core.o: defined in discarded section `.exit.text' of net/netfilter/ipset/ip_set_core.o
   xtensa-linux-ld: net/ipv4/tcp_output.o: in function `tcp_write_xmit':
>> net/ipv4/tcp_output.c:3307: undefined reference to `__tcp_bpf_tx_defer'
   xtensa-linux-ld: net/ipv4/tcp_output.o: in function `__tcp_push_pending_frames':
>> include/net/tcp.h:764: undefined reference to `__tcp_bpf_tx_defer'
   xtensa-linux-ld: net/ipv4/tcp_output.o: in function `__tcp_push_pending_frames':
   net/ipv4/tcp_output.c:3327: undefined reference to `__tcp_bpf_tx_defer'
   xtensa-linux-ld: net/ipv4/tcp_output.o: in function `tcp_push_one':
>> include/net/tcp.h:764: undefined reference to `__tcp_bpf_tx_defer'
   xtensa-linux-ld: net/ipv4/tcp_output.o: in function `tcp_xmit_retransmit_queue.part.91':
   net/ipv4/tcp_output.c:1328: undefined reference to `__tcp_bpf_tx_defer'
   xtensa-linux-ld: net/ipv4/tcp_output.o:include/net/tcp.h:764: more undefined references to `__tcp_bpf_tx_defer' follow
   `.exit.text' referenced in section `__jump_table' of net/ceph/ceph_common.o: defined in discarded section `.exit.text' of net/ceph/ceph_common.o
   `.exit.text' referenced in section `__jump_table' of net/ceph/ceph_common.o: defined in discarded section `.exit.text' of net/ceph/ceph_common.o


vim +3307 net/ipv4/tcp_output.c

^1da177e4c3f41 Linus Torvalds          2005-04-16  3300  
a762a9800752f0 David S. Miller         2005-07-05  3301  /* Push out any pending frames which were held back due to
a762a9800752f0 David S. Miller         2005-07-05  3302   * TCP_CORK or attempt at coalescing tiny packets.
a762a9800752f0 David S. Miller         2005-07-05  3303   * The socket must be locked by the caller.
a762a9800752f0 David S. Miller         2005-07-05  3304   */
9e412ba7632f71 Ilpo Järvinen           2007-04-20  3305  void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss,
9e412ba7632f71 Ilpo Järvinen           2007-04-20  3306  			       int nonagle)
a762a9800752f0 David S. Miller         2005-07-05 @3307  {
726e07a8a38168 Ilpo Järvinen           2008-12-05  3308  	/* If we are closed, the bytes will have to remain here.
726e07a8a38168 Ilpo Järvinen           2008-12-05  3309  	 * In time closedown will finish, we empty the write queue and
726e07a8a38168 Ilpo Järvinen           2008-12-05  3310  	 * all will be happy.
726e07a8a38168 Ilpo Järvinen           2008-12-05  3311  	 */
726e07a8a38168 Ilpo Järvinen           2008-12-05  3312  	if (unlikely(sk->sk_state == TCP_CLOSE))
726e07a8a38168 Ilpo Järvinen           2008-12-05  3313  		return;
726e07a8a38168 Ilpo Järvinen           2008-12-05  3314  
7a9d3d30a1aaf0 Kumar Kartikeya Dwivedi 2026-11-10  3315  	if (tcp_bpf_tx_defer(sk, nonagle))
7a9d3d30a1aaf0 Kumar Kartikeya Dwivedi 2026-11-10  3316  		return;
7a9d3d30a1aaf0 Kumar Kartikeya Dwivedi 2026-11-10  3317  
99a1dec70d5acb Mel Gorman              2012-07-31  3318  	if (tcp_write_xmit(sk, cur_mss, nonagle, 0,
7450aaf61f0ae2 Eric Dumazet            2015-11-30  3319  			   sk_gfp_mask(sk, GFP_ATOMIC)))
9e412ba7632f71 Ilpo Järvinen           2007-04-20  3320  		tcp_check_probe_timer(sk);
a762a9800752f0 David S. Miller         2005-07-05  3321  }
a762a9800752f0 David S. Miller         2005-07-05  3322  

:::::: The code at line 3307 was first introduced by commit
:::::: a762a9800752f05fa8768bb0ac35d0e7f1bcfe7f [TCP]: Kill extra cwnd validate in __tcp_push_pending_frames().

:::::: TO: David S. Miller <davem@davemloft.net>
:::::: CC: David S. Miller <davem@davemloft.net>

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

                 reply	other threads:[~2026-11-10 20:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202611102113.Mdm4eGif-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=memxor@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.