From: kernel test robot <lkp@intel.com>
To: Kalpan Jani <kalpan.jani@mpiricsoftware.com>, mptcp@lists.linux.dev
Cc: oe-kbuild-all@lists.linux.dev, matttbe@kernel.org,
martineau@kernel.org, pabeni@redhat.com, cuitao@kylinos.cn,
syzbot+55c2a5c871441261ed14@syzkaller.appspotmail.com,
shardul.b@mpiricsoftware.com, janak@mpiric.us,
kalpanjani009@gmail.com, shardulsb08@gmail.com,
Kalpan Jani <kalpan.jani@mpiricsoftware.com>
Subject: Re: [PATCH net v4 2/2] selftests: mptcp: add regression test for stale ADD_ADDR on id 0 removal
Date: Tue, 23 Jun 2026 10:40:58 +0200 [thread overview]
Message-ID: <202606231019.rN367btY-lkp@intel.com> (raw)
In-Reply-To: <20260622092838.1267134-3-kalpan.jani@mpiricsoftware.com>
Hi Kalpan,
kernel test robot noticed the following build errors:
[auto build test ERROR on net/main]
url: https://github.com/intel-lab-lkp/linux/commits/Kalpan-Jani/mptcp-pm-drop-pending-ADD_ADDR-when-removing-id-0-endpoint/20260623-033836
base: net/main
patch link: https://lore.kernel.org/r/20260622092838.1267134-3-kalpan.jani%40mpiricsoftware.com
patch subject: [PATCH net v4 2/2] selftests: mptcp: add regression test for stale ADD_ADDR on id 0 removal
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260623/202606231019.rN367btY-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/20260623/202606231019.rN367btY-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/202606231019.rN367btY-lkp@intel.com/
All errors (new ones prefixed by >>):
net/mptcp/pm_kernel.c: In function 'mptcp_nl_remove_id_zero_address':
>> net/mptcp/pm_kernel.c:1154:29: error: implicit declaration of function 'mptcp_remove_anno_list_by_saddr' [-Wimplicit-function-declaration]
1154 | announced = mptcp_remove_anno_list_by_saddr(msk, &anno_addr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/mptcp_remove_anno_list_by_saddr +1154 net/mptcp/pm_kernel.c
1127
1128 static int mptcp_nl_remove_id_zero_address(struct net *net,
1129 struct mptcp_addr_info *addr)
1130 {
1131 struct mptcp_rm_list list = { .nr = 0 };
1132 long s_slot = 0, s_num = 0;
1133 struct mptcp_sock *msk;
1134
1135 list.ids[list.nr++] = 0;
1136
1137 while ((msk = mptcp_token_iter_next(net, &s_slot, &s_num)) != NULL) {
1138 struct sock *sk = (struct sock *)msk;
1139 struct mptcp_addr_info msk_local;
1140 struct mptcp_addr_info anno_addr;
1141 bool announced;
1142
1143 if (list_empty(&msk->conn_list) || mptcp_pm_is_userspace(msk))
1144 goto next;
1145
1146 mptcp_local_address((struct sock_common *)msk, &msk_local);
1147 if (!mptcp_addresses_equal(&msk_local, addr, addr->port))
1148 goto next;
1149
1150 lock_sock(sk);
1151 /* Drop a possibly pending ADD_ADDR for this address. */
1152 anno_addr = msk_local;
1153 anno_addr.port = 0;
> 1154 announced = mptcp_remove_anno_list_by_saddr(msk, &anno_addr);
1155 spin_lock_bh(&msk->pm.lock);
1156 if (announced)
1157 msk->pm.add_addr_signaled--;
1158 mptcp_pm_remove_addr(msk, &list);
1159 mptcp_pm_rm_subflow(msk, &list);
1160 __mark_subflow_endp_available(msk, 0);
1161 spin_unlock_bh(&msk->pm.lock);
1162 release_sock(sk);
1163
1164 next:
1165 sock_put(sk);
1166 cond_resched();
1167 }
1168
1169 return 0;
1170 }
1171
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-06-23 8:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-22 9:28 [PATCH net v4 0/2] mptcp: pm: fix stale ADD_ADDR entry on id 0 removal Kalpan Jani
2026-06-22 9:28 ` [PATCH net v4 1/2] mptcp: pm: drop pending ADD_ADDR when removing id 0 endpoint Kalpan Jani
2026-06-22 9:28 ` [PATCH net v4 2/2] selftests: mptcp: add regression test for stale ADD_ADDR on id 0 removal Kalpan Jani
2026-06-22 17:22 ` Matthieu Baerts
2026-06-23 8:40 ` kernel test robot [this message]
2026-06-23 10:23 ` kernel test robot
2026-06-22 9:57 ` [PATCH net v4 0/2] mptcp: pm: fix stale ADD_ADDR entry " MPTCP CI
2026-06-22 10:16 ` MPTCP CI
2026-06-25 12:31 ` [PATCH net v4 1/2] mptcp: pm: drop pending ADD_ADDR when removing id 0 endpoint Tao Cui
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=202606231019.rN367btY-lkp@intel.com \
--to=lkp@intel.com \
--cc=cuitao@kylinos.cn \
--cc=janak@mpiric.us \
--cc=kalpan.jani@mpiricsoftware.com \
--cc=kalpanjani009@gmail.com \
--cc=martineau@kernel.org \
--cc=matttbe@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=shardul.b@mpiricsoftware.com \
--cc=shardulsb08@gmail.com \
--cc=syzbot+55c2a5c871441261ed14@syzkaller.appspotmail.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 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.