public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kuniyuki Iwashima <kuniyu@google.com>,
	David Ahern <dsahern@kernel.org>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Kui-Feng Lee <thinker.li@gmail.com>,
	Xin Long <lucien.xin@gmail.com>, Simon Horman <horms@kernel.org>,
	Kuniyuki Iwashima <kuniyu@google.com>,
	netdev@vger.kernel.org
Subject: Re: [PATCH v2 net 2/2] ipv6: Don't remove permanent routes with exceptions from tb6_gc_hlist.
Date: Sun, 8 Mar 2026 21:02:17 +0800	[thread overview]
Message-ID: <202603082146.XcUdD9Ob-lkp@intel.com> (raw)
In-Reply-To: <20260308032304.1841198-3-kuniyu@google.com>

Hi Kuniyuki,

kernel test robot noticed the following build errors:

[auto build test ERROR on net/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Kuniyuki-Iwashima/ipv6-Remove-permanent-routes-from-tb6_gc_hlist-when-all-exceptions-expire/20260308-113030
base:   net/main
patch link:    https://lore.kernel.org/r/20260308032304.1841198-3-kuniyu%40google.com
patch subject: [PATCH v2 net 2/2] ipv6: Don't remove permanent routes with exceptions from tb6_gc_hlist.
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260308/202603082146.XcUdD9Ob-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260308/202603082146.XcUdD9Ob-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/202603082146.XcUdD9Ob-lkp@intel.com/

All errors (new ones prefixed by >>):

   net/ipv6/addrconf.c: In function 'cleanup_prefix_route':
>> net/ipv6/addrconf.c:1282:33: error: implicit declaration of function 'fib6_add_gc_list' [-Werror=implicit-function-declaration]
    1282 |                                 fib6_add_gc_list(f6i);
         |                                 ^~~~~~~~~~~~~~~~
   net/ipv6/addrconf.c: In function 'addrconf_prefix_rcv':
>> net/ipv6/addrconf.c:2865:41: error: implicit declaration of function 'fib6_may_remove_gc_list' [-Werror=implicit-function-declaration]
    2865 |                                         fib6_may_remove_gc_list(net, rt);
         |                                         ^~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   net/ipv6/route.c: In function 'rt6_route_rcv':
>> net/ipv6/route.c:1036:25: error: implicit declaration of function 'fib6_may_remove_gc_list' [-Werror=implicit-function-declaration]
    1036 |                         fib6_may_remove_gc_list(net, rt);
         |                         ^~~~~~~~~~~~~~~~~~~~~~~
>> net/ipv6/route.c:1039:25: error: implicit declaration of function 'fib6_add_gc_list' [-Werror=implicit-function-declaration]
    1039 |                         fib6_add_gc_list(rt);
         |                         ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   net/ipv6/ip6_fib.c: In function 'fib6_purge_rt':
>> net/ipv6/ip6_fib.c:1073:9: error: implicit declaration of function 'fib6_remove_gc_list' [-Werror=implicit-function-declaration]
    1073 |         fib6_remove_gc_list(rt);
         |         ^~~~~~~~~~~~~~~~~~~
   net/ipv6/ip6_fib.c: In function 'fib6_add_rt2node':
>> net/ipv6/ip6_fib.c:1136:41: error: implicit declaration of function 'fib6_may_remove_gc_list' [-Werror=implicit-function-declaration]
    1136 |                                         fib6_may_remove_gc_list(info->nl_net, iter);
         |                                         ^~~~~~~~~~~~~~~~~~~~~~~
>> net/ipv6/ip6_fib.c:1139:41: error: implicit declaration of function 'fib6_add_gc_list' [-Werror=implicit-function-declaration]
    1139 |                                         fib6_add_gc_list(iter);
         |                                         ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   net/ipv6/ndisc.c: In function 'ndisc_router_discovery':
>> net/ipv6/ndisc.c:1405:17: error: implicit declaration of function 'fib6_add_gc_list' [-Werror=implicit-function-declaration]
    1405 |                 fib6_add_gc_list(rt);
         |                 ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/fib6_add_gc_list +1282 net/ipv6/addrconf.c

5b84efecb7d939 Thomas Haller 2014-01-15  1262  
5b84efecb7d939 Thomas Haller 2014-01-15  1263  static void
d0098e4c6b83e5 Hangbin Liu   2020-03-03  1264  cleanup_prefix_route(struct inet6_ifaddr *ifp, unsigned long expires,
d0098e4c6b83e5 Hangbin Liu   2020-03-03  1265  		     bool del_rt, bool del_peer)
5b84efecb7d939 Thomas Haller 2014-01-15  1266  {
5eb902b8e7193c Kui-Feng Lee  2024-02-08  1267  	struct fib6_table *table;
93c2fb253d177a David Ahern   2018-04-18  1268  	struct fib6_info *f6i;
5b84efecb7d939 Thomas Haller 2014-01-15  1269  
d0098e4c6b83e5 Hangbin Liu   2020-03-03  1270  	f6i = addrconf_get_prefix_route(del_peer ? &ifp->peer_addr : &ifp->addr,
d0098e4c6b83e5 Hangbin Liu   2020-03-03  1271  					ifp->prefix_len,
2b2450ca4a2d9d David Ahern   2019-03-27  1272  					ifp->idev->dev, 0, RTF_DEFAULT, true);
93c2fb253d177a David Ahern   2018-04-18  1273  	if (f6i) {
5b84efecb7d939 Thomas Haller 2014-01-15  1274  		if (del_rt)
11dd74b338bf83 Roopa Prabhu  2020-04-27  1275  			ip6_del_rt(dev_net(ifp->idev->dev), f6i, false);
5b84efecb7d939 Thomas Haller 2014-01-15  1276  		else {
5eb902b8e7193c Kui-Feng Lee  2024-02-08  1277  			if (!(f6i->fib6_flags & RTF_EXPIRES)) {
5eb902b8e7193c Kui-Feng Lee  2024-02-08  1278  				table = f6i->fib6_table;
5eb902b8e7193c Kui-Feng Lee  2024-02-08  1279  				spin_lock_bh(&table->tb6_lock);
5eb902b8e7193c Kui-Feng Lee  2024-02-08  1280  
93c2fb253d177a David Ahern   2018-04-18  1281  				fib6_set_expires(f6i, expires);
5eb902b8e7193c Kui-Feng Lee  2024-02-08 @1282  				fib6_add_gc_list(f6i);
5eb902b8e7193c Kui-Feng Lee  2024-02-08  1283  
5eb902b8e7193c Kui-Feng Lee  2024-02-08  1284  				spin_unlock_bh(&table->tb6_lock);
5eb902b8e7193c Kui-Feng Lee  2024-02-08  1285  			}
93c2fb253d177a David Ahern   2018-04-18  1286  			fib6_info_release(f6i);
5b84efecb7d939 Thomas Haller 2014-01-15  1287  		}
5b84efecb7d939 Thomas Haller 2014-01-15  1288  	}
5b84efecb7d939 Thomas Haller 2014-01-15  1289  }
5b84efecb7d939 Thomas Haller 2014-01-15  1290  

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

  reply	other threads:[~2026-03-08 13:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-08  3:22 [PATCH v2 net 0/2] ipv6: Fix two GC issues with permanent routes Kuniyuki Iwashima
2026-03-08  3:22 ` [PATCH v2 net 1/2] ipv6: Remove permanent routes from tb6_gc_hlist when all exceptions expire Kuniyuki Iwashima
2026-03-08  3:22 ` [PATCH v2 net 2/2] ipv6: Don't remove permanent routes with exceptions from tb6_gc_hlist Kuniyuki Iwashima
2026-03-08 13:02   ` kernel test robot [this message]
2026-03-08 14:50   ` kernel test robot
2026-03-08 18:58     ` Kuniyuki Iwashima

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=202603082146.XcUdD9Ob-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.com \
    --cc=lucien.xin@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=thinker.li@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