[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_DAEC42CF7878366DC42DD16D289568E95E0A@qq.com>
Date: Sat, 2 Mar 2024 11:36:43 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+d4faee732755bba9838e@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [rds?] WARNING in rds_conn_connect_if_down
please test mp capable for rds
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
diff --git a/net/rds/recv.c b/net/rds/recv.c
index 5627f80013f8..142c289bcf6b 100644
--- a/net/rds/recv.c
+++ b/net/rds/recv.c
@@ -228,6 +228,7 @@ static void rds_recv_hs_exthdrs(struct rds_header *hdr,
}
/* if RDS_EXTHDR_NPATHS was not found, default to a single-path */
conn->c_npaths = max_t(int, conn->c_npaths, 1);
+ conn->c_trans->t_mp_capable = conn->c_npaths > 1 ? 1 : 0;
conn->c_ping_triggered = 0;
rds_conn_peer_gen_update(conn, new_peer_gen_num);
}
Powered by blists - more mailing lists