From: kernel test robot <lkp@intel.com>
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [kkdwivedi:coroutine/base 3/3] net/core/filter.c:12481:28: error: '__udp4_lib_rcv' undeclared; did you mean '__udp4_lib_lookup'?
Date: Mon, 15 Dec 2025 01:02:49 +0100 [thread overview]
Message-ID: <202512150122.DIKOwK0K-lkp@intel.com> (raw)
tree: https://github.com/kkdwivedi/linux coroutine/base
head: 3d1468dcf813bc71d425b7ce656a6877d98684e9
commit: 3d1468dcf813bc71d425b7ce656a6877d98684e9 [3/3] Basic Rx integration
config: x86_64-rhel-9.4-ltp (https://download.01.org/0day-ci/archive/20251215/202512150122.DIKOwK0K-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251215/202512150122.DIKOwK0K-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/202512150122.DIKOwK0K-lkp@intel.com/
All errors (new ones prefixed by >>):
net/core/filter.c: In function 'bpf_coro_udp_rcv':
>> net/core/filter.c:12481:28: error: '__udp4_lib_rcv' undeclared (first use in this function); did you mean '__udp4_lib_lookup'?
12481 | udp_rcv_func_ptr = __udp4_lib_rcv;
| ^~~~~~~~~~~~~~
| __udp4_lib_lookup
net/core/filter.c:12481:28: note: each undeclared identifier is reported only once for each function it appears in
net/core/filter.c: In function 'bpf_coro_icmp_rcv':
>> net/core/filter.c:12504:29: error: 'icmp_rcv' undeclared (first use in this function); did you mean 'ip_rcv'?
12504 | icmp_rcv_func_ptr = icmp_rcv;
| ^~~~~~~~
| ip_rcv
vim +12481 net/core/filter.c
12466
12467 __bpf_kfunc int bpf_coro_udp_rcv(struct sk_buff *skb)
12468 {
12469 int result_code;
12470 int (*udp_rcv_func_ptr)(struct sk_buff *);
12471 struct sk_buff *skb_iter;
12472 struct sk_buff *skb_dup;
12473 skb_iter = skb;
12474 if (!skb_iter) {
12475 return -22;
12476 }
12477 skb_dup = skb_clone(skb_iter, GFP_ATOMIC);
12478 if (!skb_dup) {
12479 return -12;
12480 }
12481 udp_rcv_func_ptr = __udp4_lib_rcv;
12482 if (!udp_rcv_func_ptr) {
12483 kfree_skb(skb_dup);
12484 return -2;
12485 }
12486 result_code = udp_rcv_func_ptr(skb_dup);
12487 return result_code;
12488 }
12489
12490 __bpf_kfunc int bpf_coro_icmp_rcv(struct sk_buff *skb)
12491 {
12492 int result_code;
12493 int (*icmp_rcv_func_ptr)(struct sk_buff *);
12494 struct sk_buff *skb_iter;
12495 struct sk_buff *skb_dup;
12496 skb_iter = skb;
12497 if (!skb_iter) {
12498 return -22;
12499 }
12500 skb_dup = skb_clone(skb_iter, GFP_ATOMIC);
12501 if (!skb_dup) {
12502 return -12;
12503 }
12504 icmp_rcv_func_ptr = icmp_rcv;
12505 if (!icmp_rcv_func_ptr) {
12506 kfree_skb(skb_dup);
12507 return -2;
12508 }
12509 result_code = icmp_rcv_func_ptr(skb_dup);
12510 return result_code;
12511 }
12512
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-12-15 0:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-15 0:02 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-12-12 20:38 [kkdwivedi:coroutine/base 3/3] net/core/filter.c:12481:28: error: '__udp4_lib_rcv' undeclared; did you mean '__udp4_lib_lookup'? kernel test robot
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=202512150122.DIKOwK0K-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.