]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/smc: Scan from current RMB list when no position specified
authorWen Gu <guwen@linux.alibaba.com>
Fri, 26 May 2023 11:49:00 +0000 (19:49 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 May 2023 09:26:32 +0000 (11:26 +0200)
commitb24aa141c2ff26c919237aee61ea1818fc6780d9
tree4164cf0a51027cf65cbe2614a0da26a2ddf7c0b2
parent020c69c1a793ed29d28793808eddd75210c858dd
net/smc: Scan from current RMB list when no position specified

When finding the first RMB of link group, it should start from the
current RMB list whose index is 0. So fix it.

Fixes: b4ba4652b3f8 ("net/smc: extend LLC layer for SMC-Rv2")
Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/smc/smc_llc.c