* [kkdwivedi:coroutine/base 3/3] net/core/filter.c:12481:28: error: '__udp4_lib_rcv' undeclared; did you mean '__udp4_lib_lookup'?
@ 2025-12-12 20:38 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-12-12 20:38 UTC (permalink / raw)
To: Kumar Kartikeya Dwivedi; +Cc: oe-kbuild-all
tree: https://github.com/kkdwivedi/linux coroutine/base
head: 3d1468dcf813bc71d425b7ce656a6877d98684e9
commit: 3d1468dcf813bc71d425b7ce656a6877d98684e9 [3/3] Basic Rx integration
config: i386-randconfig-141-20251213 (https://download.01.org/0day-ci/archive/20251213/202512130456.0dPDwxGr-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/20251213/202512130456.0dPDwxGr-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/202512130456.0dPDwxGr-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> net/core/dev.c:6374:14: warning: no previous prototype for '__netif_receive_skb_hook' [-Wmissing-prototypes]
6374 | noinline int __netif_receive_skb_hook(struct sk_buff *skb)
| ^~~~~~~~~~~~~~~~~~~~~~~~
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [kkdwivedi:coroutine/base 3/3] net/core/filter.c:12481:28: error: '__udp4_lib_rcv' undeclared; did you mean '__udp4_lib_lookup'?
@ 2025-12-15 0:02 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-12-15 0:02 UTC (permalink / raw)
To: Kumar Kartikeya Dwivedi; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-15 0:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
-- strict thread matches above, loose matches on Subject: below --
2025-12-15 0:02 kernel test robot
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.