Skip to content

Commit 396a194

Browse files
committed
tgupdate: merge t/DO-NOT-MERGE-mptcp-use-kmalloc-on-kasan-build base into t/DO-NOT-MERGE-mptcp-use-kmalloc-on-kasan-build
2 parents 044d5d5 + 94193e3 commit 396a194

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

net/mptcp/pm.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ void mptcp_pm_add_addr_echoed(struct mptcp_sock *msk,
251251

252252
pr_debug("msk=%p\n", msk);
253253

254+
if (!READ_ONCE(pm->work_pending))
255+
return;
256+
254257
spin_lock_bh(&pm->lock);
255258

256259
if (mptcp_lookup_anno_list_by_saddr(msk, addr) && READ_ONCE(pm->work_pending))

0 commit comments

Comments
 (0)