netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Antonio Quartulli <antonio@openvpn.net>, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev,
	Sabrina Dubroca <sd@queasysnail.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Antonio Quartulli <antonio@openvpn.net>,
	Willem de Bruijn <willemdebruijn.kernel@gmail.com>,
	Simon Horman <horms@kernel.org>, David Ahern <dsahern@kernel.org>,
	Oleksandr Natalenko <oleksandr@natalenko.name>
Subject: Re: [PATCH net-next 1/3] ovpn: properly deconfigure UDP-tunnel
Date: Thu, 22 May 2025 10:39:12 +0800	[thread overview]
Message-ID: <202505221029.XIguAT57-lkp@intel.com> (raw)
In-Reply-To: <20250520233937.5161-2-antonio@openvpn.net>

Hi Antonio,

kernel test robot noticed the following build errors:

[auto build test ERROR on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Antonio-Quartulli/ovpn-properly-deconfigure-UDP-tunnel/20250521-081355
base:   net-next/main
patch link:    https://lore.kernel.org/r/20250520233937.5161-2-antonio%40openvpn.net
patch subject: [PATCH net-next 1/3] ovpn: properly deconfigure UDP-tunnel
config: sparc-randconfig-001-20250522 (https://download.01.org/0day-ci/archive/20250522/202505221029.XIguAT57-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250522/202505221029.XIguAT57-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/202505221029.XIguAT57-lkp@intel.com/

All errors (new ones prefixed by >>):

   sparc-linux-ld: net/ipv4/udp_tunnel_core.o: in function `cleanup_udp_tunnel_sock':
>> net/ipv4/udp_tunnel_core.c:122:(.text+0x880): undefined reference to `udpv6_encap_disable'


vim +122 net/ipv4/udp_tunnel_core.c

   100	
   101	void cleanup_udp_tunnel_sock(struct sock *sk)
   102	{
   103		/* Re-enable multicast loopback */
   104		inet_set_bit(MC_LOOP, sk);
   105	
   106		/* Disable CHECKSUM_UNNECESSARY to CHECKSUM_COMPLETE conversion */
   107		inet_dec_convert_csum(sk);
   108	
   109		rcu_assign_sk_user_data(sk, NULL);
   110	
   111		udp_sk(sk)->encap_type = 0;
   112		udp_sk(sk)->encap_rcv = NULL;
   113		udp_sk(sk)->encap_err_rcv = NULL;
   114		udp_sk(sk)->encap_err_lookup = NULL;
   115		udp_sk(sk)->encap_destroy = NULL;
   116		udp_sk(sk)->gro_receive = NULL;
   117		udp_sk(sk)->gro_complete = NULL;
   118	
   119		udp_clear_bit(ENCAP_ENABLED, sk);
   120	#if IS_ENABLED(CONFIG_IPV6)
   121		if (READ_ONCE(sk->sk_family) == PF_INET6)
 > 122			udpv6_encap_disable();
   123	#endif
   124		udp_encap_disable();
   125		udp_tunnel_cleanup_gro(sk);
   126	}
   127	EXPORT_SYMBOL_GPL(cleanup_udp_tunnel_sock);
   128	

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

  reply	other threads:[~2025-05-22  2:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-20 23:39 [PATCH net-next 0/3] pull request: ovpn 2025-05-21 Antonio Quartulli
2025-05-20 23:39 ` [PATCH net-next 1/3] ovpn: properly deconfigure UDP-tunnel Antonio Quartulli
2025-05-22  2:39   ` kernel test robot [this message]
2025-05-20 23:39 ` [PATCH net-next 2/3] ovpn: ensure sk is still valid during cleanup Antonio Quartulli
2025-05-20 23:39 ` [PATCH net-next 3/3] selftest/net/ovpn: fix TCP socket creation Antonio Quartulli

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=202505221029.XIguAT57-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=antonio@openvpn.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=oleksandr@natalenko.name \
    --cc=pabeni@redhat.com \
    --cc=sd@queasysnail.net \
    --cc=willemdebruijn.kernel@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).