* [netfilter-nf:for-netdev-nf-26-11-13 27/27] net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
@ 2026-11-13 11:27 kernel test robot
2026-11-13 11:52 ` Julian Anastasov
0 siblings, 1 reply; 5+ messages in thread
From: kernel test robot @ 2026-11-13 11:27 UTC (permalink / raw)
To: Julian Anastasov
Cc: oe-kbuild-all, netfilter-devel, coreteam, Pablo Neira Ayuso
tree: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git for-netdev-nf-26-11-13
head: 937b060406a547e4d931525e600540726ea26532
commit: 937b060406a547e4d931525e600540726ea26532 [27/27] ipvs: pass correct sk to update_pmtu and on tunneling
config: i386-randconfig-2200-20261113 (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-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/202611131204.pFzcf1WG-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
1060 | cp->packet_xmit = ip_vs_null_xmit_v6;
| ^~~~~~~~~~~~~~~~~~
| ip_vs_null_xmit
include/net/ip_vs.h:1992:5: note: 'ip_vs_null_xmit' declared here
1992 | int ip_vs_null_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
| ^
1 error generated.
vim +1060 net/netfilter/ipvs/ip_vs_conn.c
1034
1035 /*
1036 * Bind a connection entry with the corresponding packet_xmit.
1037 * Called by ip_vs_conn_new.
1038 */
1039 static inline void ip_vs_bind_xmit(struct ip_vs_conn *cp)
1040 {
1041 switch (IP_VS_FWD_METHOD(cp)) {
1042 case IP_VS_CONN_F_MASQ:
1043 cp->packet_xmit = ip_vs_nat_xmit;
1044 break;
1045
1046 case IP_VS_CONN_F_TUNNEL:
1047 #ifdef CONFIG_IP_VS_IPV6
1048 if (cp->daf == AF_INET6)
1049 cp->packet_xmit = ip_vs_tunnel_xmit_v6;
1050 else
1051 #endif
1052 cp->packet_xmit = ip_vs_tunnel_xmit;
1053 break;
1054
1055 case IP_VS_CONN_F_DROUTE:
1056 cp->packet_xmit = ip_vs_dr_xmit;
1057 break;
1058
1059 case IP_VS_CONN_F_LOCALNODE:
> 1060 cp->packet_xmit = ip_vs_null_xmit_v6;
1061 break;
1062
1063 case IP_VS_CONN_F_BYPASS:
1064 cp->packet_xmit = ip_vs_bypass_xmit;
1065 break;
1066 }
1067 }
1068
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [netfilter-nf:for-netdev-nf-26-11-13 27/27] net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
2026-11-13 11:27 [netfilter-nf:for-netdev-nf-26-11-13 27/27] net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'? kernel test robot
@ 2026-11-13 11:52 ` Julian Anastasov
2026-11-13 11:59 ` Pablo Neira Ayuso
2026-11-13 12:15 ` Julian Anastasov
0 siblings, 2 replies; 5+ messages in thread
From: Julian Anastasov @ 2026-11-13 11:52 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, netfilter-devel, coreteam, Pablo Neira Ayuso
Hello,
On Fri, 13 Nov 2026, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git for-netdev-nf-26-11-13
> head: 937b060406a547e4d931525e600540726ea26532
> commit: 937b060406a547e4d931525e600540726ea26532 [27/27] ipvs: pass correct sk to update_pmtu and on tunneling
> config: i386-randconfig-2200-20261113 (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-lkp@intel.com/config)
> compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
> smatch: v0.5.0-9187-g5189e3fb
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-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/202611131204.pFzcf1WG-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
> 1060 | cp->packet_xmit = ip_vs_null_xmit_v6;
> | ^~~~~~~~~~~~~~~~~~
> | ip_vs_null_xmit
> include/net/ip_vs.h:1992:5: note: 'ip_vs_null_xmit' declared here
> 1992 | int ip_vs_null_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
> | ^
> 1 error generated.
>
>
> vim +1060 net/netfilter/ipvs/ip_vs_conn.c
>
> 1034
> 1035 /*
> 1036 * Bind a connection entry with the corresponding packet_xmit.
> 1037 * Called by ip_vs_conn_new.
> 1038 */
> 1039 static inline void ip_vs_bind_xmit(struct ip_vs_conn *cp)
> 1040 {
> 1041 switch (IP_VS_FWD_METHOD(cp)) {
> 1042 case IP_VS_CONN_F_MASQ:
> 1043 cp->packet_xmit = ip_vs_nat_xmit;
> 1044 break;
> 1045
> 1046 case IP_VS_CONN_F_TUNNEL:
> 1047 #ifdef CONFIG_IP_VS_IPV6
> 1048 if (cp->daf == AF_INET6)
> 1049 cp->packet_xmit = ip_vs_tunnel_xmit_v6;
> 1050 else
> 1051 #endif
> 1052 cp->packet_xmit = ip_vs_tunnel_xmit;
> 1053 break;
> 1054
> 1055 case IP_VS_CONN_F_DROUTE:
> 1056 cp->packet_xmit = ip_vs_dr_xmit;
> 1057 break;
> 1058
> 1059 case IP_VS_CONN_F_LOCALNODE:
> > 1060 cp->packet_xmit = ip_vs_null_xmit_v6;
We were not lucky this time. The original patch was trying to
patch ip_vs_bind_xmit_v6() but due to the similar code in
ip_vs_bind_xmit() the change after applying occured in the IPv4 function
which comes first.
Pablo, can some manual applying solve this or we should modify
somehow this hunk to not match early in the file ? In this form it
will do the same problem on the next tree.
> 1061 break;
> 1062
> 1063 case IP_VS_CONN_F_BYPASS:
> 1064 cp->packet_xmit = ip_vs_bypass_xmit;
> 1065 break;
> 1066 }
> 1067 }
> 1068
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
Regards
--
Julian Anastasov <ja@ssi.bg>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [netfilter-nf:for-netdev-nf-26-11-13 27/27] net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
2026-11-13 11:52 ` Julian Anastasov
@ 2026-11-13 11:59 ` Pablo Neira Ayuso
2026-11-13 12:15 ` Julian Anastasov
1 sibling, 0 replies; 5+ messages in thread
From: Pablo Neira Ayuso @ 2026-11-13 11:59 UTC (permalink / raw)
To: Julian Anastasov
Cc: kernel test robot, oe-kbuild-all, netfilter-devel, coreteam
On Fri, Nov 13, 2026 at 01:52:27PM +0200, Julian Anastasov wrote:
>
> Hello,
>
> On Fri, 13 Nov 2026, kernel test robot wrote:
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git for-netdev-nf-26-11-13
> > head: 937b060406a547e4d931525e600540726ea26532
> > commit: 937b060406a547e4d931525e600540726ea26532 [27/27] ipvs: pass correct sk to update_pmtu and on tunneling
> > config: i386-randconfig-2200-20261113 (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-lkp@intel.com/config)
> > compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
> > smatch: v0.5.0-9187-g5189e3fb
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-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/202611131204.pFzcf1WG-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
> > 1060 | cp->packet_xmit = ip_vs_null_xmit_v6;
> > | ^~~~~~~~~~~~~~~~~~
> > | ip_vs_null_xmit
> > include/net/ip_vs.h:1992:5: note: 'ip_vs_null_xmit' declared here
> > 1992 | int ip_vs_null_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
> > | ^
> > 1 error generated.
> >
> >
> > vim +1060 net/netfilter/ipvs/ip_vs_conn.c
> >
> > 1034
> > 1035 /*
> > 1036 * Bind a connection entry with the corresponding packet_xmit.
> > 1037 * Called by ip_vs_conn_new.
> > 1038 */
> > 1039 static inline void ip_vs_bind_xmit(struct ip_vs_conn *cp)
> > 1040 {
> > 1041 switch (IP_VS_FWD_METHOD(cp)) {
> > 1042 case IP_VS_CONN_F_MASQ:
> > 1043 cp->packet_xmit = ip_vs_nat_xmit;
> > 1044 break;
> > 1045
> > 1046 case IP_VS_CONN_F_TUNNEL:
> > 1047 #ifdef CONFIG_IP_VS_IPV6
> > 1048 if (cp->daf == AF_INET6)
> > 1049 cp->packet_xmit = ip_vs_tunnel_xmit_v6;
> > 1050 else
> > 1051 #endif
> > 1052 cp->packet_xmit = ip_vs_tunnel_xmit;
> > 1053 break;
> > 1054
> > 1055 case IP_VS_CONN_F_DROUTE:
> > 1056 cp->packet_xmit = ip_vs_dr_xmit;
> > 1057 break;
> > 1058
> > 1059 case IP_VS_CONN_F_LOCALNODE:
> > > 1060 cp->packet_xmit = ip_vs_null_xmit_v6;
>
> We were not lucky this time. The original patch was trying to
> patch ip_vs_bind_xmit_v6() but due to the similar code in
> ip_vs_bind_xmit() the change after applying occured in the IPv4 function
> which comes first.
That's strange, I have used git am, it should have complained about
this.
> Pablo, can some manual applying solve this or we should modify
> somehow this hunk to not match early in the file ? In this form it
> will do the same problem on the next tree.
This is:
[PATCH net 15/15] ipvs: pass correct sk to update_pmtu and on tunneling
My plan is to drop it in v2 of the IPVS PR, so you have another round
to post one patch that applies cleanly to nf.git or nf-next.git.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [netfilter-nf:for-netdev-nf-26-11-13 27/27] net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
2026-11-13 11:52 ` Julian Anastasov
2026-11-13 11:59 ` Pablo Neira Ayuso
@ 2026-11-13 12:15 ` Julian Anastasov
2026-11-13 12:17 ` Pablo Neira Ayuso
1 sibling, 1 reply; 5+ messages in thread
From: Julian Anastasov @ 2026-11-13 12:15 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, netfilter-devel, coreteam, Pablo Neira Ayuso
Hello,
On Fri, 13 Nov 2026, Julian Anastasov wrote:
> On Fri, 13 Nov 2026, kernel test robot wrote:
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git for-netdev-nf-26-11-13
> > head: 937b060406a547e4d931525e600540726ea26532
> > commit: 937b060406a547e4d931525e600540726ea26532 [27/27] ipvs: pass correct sk to update_pmtu and on tunneling
> > config: i386-randconfig-2200-20261113 (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-lkp@intel.com/config)
> > compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
> > smatch: v0.5.0-9187-g5189e3fb
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-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/202611131204.pFzcf1WG-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
> > 1060 | cp->packet_xmit = ip_vs_null_xmit_v6;
> > | ^~~~~~~~~~~~~~~~~~
> > | ip_vs_null_xmit
> > include/net/ip_vs.h:1992:5: note: 'ip_vs_null_xmit' declared here
> > 1992 | int ip_vs_null_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
> > | ^
> > 1 error generated.
> >
> >
> > vim +1060 net/netfilter/ipvs/ip_vs_conn.c
> >
> > 1034
> > 1035 /*
> > 1036 * Bind a connection entry with the corresponding packet_xmit.
> > 1037 * Called by ip_vs_conn_new.
> > 1038 */
> > 1039 static inline void ip_vs_bind_xmit(struct ip_vs_conn *cp)
> > 1040 {
> > 1041 switch (IP_VS_FWD_METHOD(cp)) {
> > 1042 case IP_VS_CONN_F_MASQ:
> > 1043 cp->packet_xmit = ip_vs_nat_xmit;
> > 1044 break;
> > 1045
> > 1046 case IP_VS_CONN_F_TUNNEL:
> > 1047 #ifdef CONFIG_IP_VS_IPV6
> > 1048 if (cp->daf == AF_INET6)
> > 1049 cp->packet_xmit = ip_vs_tunnel_xmit_v6;
> > 1050 else
> > 1051 #endif
> > 1052 cp->packet_xmit = ip_vs_tunnel_xmit;
> > 1053 break;
> > 1054
> > 1055 case IP_VS_CONN_F_DROUTE:
> > 1056 cp->packet_xmit = ip_vs_dr_xmit;
> > 1057 break;
> > 1058
> > 1059 case IP_VS_CONN_F_LOCALNODE:
> > > 1060 cp->packet_xmit = ip_vs_null_xmit_v6;
>
> We were not lucky this time. The original patch was trying to
> patch ip_vs_bind_xmit_v6() but due to the similar code in
> ip_vs_bind_xmit() the change after applying occured in the IPv4 function
> which comes first.
>
> Pablo, can some manual applying solve this or we should modify
> somehow this hunk to not match early in the file ? In this form it
> will do the same problem on the next tree.
I hopefully solved this problem by reordering some code
for better speed, just posted v4.
>
> > 1061 break;
> > 1062
> > 1063 case IP_VS_CONN_F_BYPASS:
> > 1064 cp->packet_xmit = ip_vs_bypass_xmit;
> > 1065 break;
> > 1066 }
> > 1067 }
> > 1068
> >
> > --
> > 0-DAY CI Kernel Test Service
> > https://github.com/intel/lkp-tests/wiki
Regards
--
Julian Anastasov <ja@ssi.bg>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [netfilter-nf:for-netdev-nf-26-11-13 27/27] net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
2026-11-13 12:15 ` Julian Anastasov
@ 2026-11-13 12:17 ` Pablo Neira Ayuso
0 siblings, 0 replies; 5+ messages in thread
From: Pablo Neira Ayuso @ 2026-11-13 12:17 UTC (permalink / raw)
To: Julian Anastasov
Cc: kernel test robot, oe-kbuild-all, netfilter-devel, coreteam
On Fri, Nov 13, 2026 at 02:15:33PM +0200, Julian Anastasov wrote:
>
> Hello,
>
> On Fri, 13 Nov 2026, Julian Anastasov wrote:
>
> > On Fri, 13 Nov 2026, kernel test robot wrote:
> >
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git for-netdev-nf-26-11-13
> > > head: 937b060406a547e4d931525e600540726ea26532
> > > commit: 937b060406a547e4d931525e600540726ea26532 [27/27] ipvs: pass correct sk to update_pmtu and on tunneling
> > > config: i386-randconfig-2200-20261113 (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-lkp@intel.com/config)
> > > compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
> > > smatch: v0.5.0-9187-g5189e3fb
> > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261113/202611131204.pFzcf1WG-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/202611131204.pFzcf1WG-lkp@intel.com/
> > >
> > > All errors (new ones prefixed by >>):
> > >
> > > >> net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'?
> > > 1060 | cp->packet_xmit = ip_vs_null_xmit_v6;
> > > | ^~~~~~~~~~~~~~~~~~
> > > | ip_vs_null_xmit
> > > include/net/ip_vs.h:1992:5: note: 'ip_vs_null_xmit' declared here
> > > 1992 | int ip_vs_null_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
> > > | ^
> > > 1 error generated.
> > >
> > >
> > > vim +1060 net/netfilter/ipvs/ip_vs_conn.c
> > >
> > > 1034
> > > 1035 /*
> > > 1036 * Bind a connection entry with the corresponding packet_xmit.
> > > 1037 * Called by ip_vs_conn_new.
> > > 1038 */
> > > 1039 static inline void ip_vs_bind_xmit(struct ip_vs_conn *cp)
> > > 1040 {
> > > 1041 switch (IP_VS_FWD_METHOD(cp)) {
> > > 1042 case IP_VS_CONN_F_MASQ:
> > > 1043 cp->packet_xmit = ip_vs_nat_xmit;
> > > 1044 break;
> > > 1045
> > > 1046 case IP_VS_CONN_F_TUNNEL:
> > > 1047 #ifdef CONFIG_IP_VS_IPV6
> > > 1048 if (cp->daf == AF_INET6)
> > > 1049 cp->packet_xmit = ip_vs_tunnel_xmit_v6;
> > > 1050 else
> > > 1051 #endif
> > > 1052 cp->packet_xmit = ip_vs_tunnel_xmit;
> > > 1053 break;
> > > 1054
> > > 1055 case IP_VS_CONN_F_DROUTE:
> > > 1056 cp->packet_xmit = ip_vs_dr_xmit;
> > > 1057 break;
> > > 1058
> > > 1059 case IP_VS_CONN_F_LOCALNODE:
> > > > 1060 cp->packet_xmit = ip_vs_null_xmit_v6;
> >
> > We were not lucky this time. The original patch was trying to
> > patch ip_vs_bind_xmit_v6() but due to the similar code in
> > ip_vs_bind_xmit() the change after applying occured in the IPv4 function
> > which comes first.
> >
> > Pablo, can some manual applying solve this or we should modify
> > somehow this hunk to not match early in the file ? In this form it
> > will do the same problem on the next tree.
>
> I hopefully solved this problem by reordering some code
> for better speed, just posted v4.
Thanks a lot Julian for the quick reply.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-13 12:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13 11:27 [netfilter-nf:for-netdev-nf-26-11-13 27/27] net/netfilter/ipvs/ip_vs_conn.c:1060:21: error: use of undeclared identifier 'ip_vs_null_xmit_v6'; did you mean 'ip_vs_null_xmit'? kernel test robot
2026-11-13 11:52 ` Julian Anastasov
2026-11-13 11:59 ` Pablo Neira Ayuso
2026-11-13 12:15 ` Julian Anastasov
2026-11-13 12:17 ` Pablo Neira Ayuso
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.