Hi Stanislav,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Stanislav-Fomichev/geneve-rely-on-rtnl-lock-in-geneve_offload_rx_ports/20250614-043457
base: net-next/main
patch link: https://lore.kernel.org/r/20250613203325.1127217-3-stfomichev%40gmail.com (local)
patch subject: [Intel-wired-lan] [PATCH net-next v4 2/6] vxlan: drop sock_lock
config: m68k-atari_defconfig (https://download.01.org/0day-ci/archive/20250614/202506141822.kFKjPah5-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250614/202506141822.kFKjPah5-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 [off-list ref]
| Closes: https://lore.kernel.org/oe-kbuild-all/202506141822.kFKjPah5-lkp@intel.com/ (local)
All warnings (new ones prefixed by >>):
drivers/net/vxlan/vxlan_core.c: In function '__vxlan_sock_release_prep':
quoted
drivers/net/vxlan/vxlan_core.c:1488:27: warning: variable 'vn' set but not used [-Wunused-but-set-variable]
1488 | struct vxlan_net *vn;
| ^~
vim +/vn +1488 drivers/net/vxlan/vxlan_core.c
d342894c5d2f8c drivers/net/vxlan.c stephen hemminger 2012-10-01 1485
544a773a01828e drivers/net/vxlan.c Hannes Frederic Sowa 2016-04-09 1486 static bool __vxlan_sock_release_prep(struct vxlan_sock *vs)
7c47cedf43a8b3 drivers/net/vxlan.c Stephen Hemminger 2013-06-17 1487 {
b1be00a6c39fda drivers/net/vxlan.c Jiri Benc 2015-09-24 @1488 struct vxlan_net *vn;
012a5729ff933e drivers/net/vxlan.c Pravin B Shelar 2013-08-19 1489
dc248376cdc061 drivers/net/vxlan/vxlan_core.c Stanislav Fomichev 2025-06-13 1490 ASSERT_RTNL();
dc248376cdc061 drivers/net/vxlan/vxlan_core.c Stanislav Fomichev 2025-06-13 1491
b1be00a6c39fda drivers/net/vxlan.c Jiri Benc 2015-09-24 1492 if (!vs)
544a773a01828e drivers/net/vxlan.c Hannes Frederic Sowa 2016-04-09 1493 return false;
66af846fe54b78 drivers/net/vxlan.c Reshetova, Elena 2017-07-04 1494 if (!refcount_dec_and_test(&vs->refcnt))
544a773a01828e drivers/net/vxlan.c Hannes Frederic Sowa 2016-04-09 1495 return false;
d342894c5d2f8c drivers/net/vxlan.c stephen hemminger 2012-10-01 1496
b1be00a6c39fda drivers/net/vxlan.c Jiri Benc 2015-09-24 1497 vn = net_generic(sock_net(vs->sock->sk), vxlan_net_id);
7c47cedf43a8b3 drivers/net/vxlan.c Stephen Hemminger 2013-06-17 1498 hlist_del_rcu(&vs->hlist);
e7b3db5e60e8f4 drivers/net/vxlan.c Alexander Duyck 2016-06-16 1499 udp_tunnel_notify_del_rx_port(vs->sock,
b9adcd69bd7b41 drivers/net/vxlan.c Alexander Duyck 2016-06-16 1500 (vs->flags & VXLAN_F_GPE) ?
b9adcd69bd7b41 drivers/net/vxlan.c Alexander Duyck 2016-06-16 1501 UDP_TUNNEL_TYPE_VXLAN_GPE :
e7b3db5e60e8f4 drivers/net/vxlan.c Alexander Duyck 2016-06-16 1502 UDP_TUNNEL_TYPE_VXLAN);
1c51a9159ddefa drivers/net/vxlan.c Stephen Hemminger 2013-06-17 1503
544a773a01828e drivers/net/vxlan.c Hannes Frederic Sowa 2016-04-09 1504 return true;
d342894c5d2f8c drivers/net/vxlan.c stephen hemminger 2012-10-01 1505 }
d342894c5d2f8c drivers/net/vxlan.c stephen hemminger 2012-10-01 1506
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki