summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorWen Gu <guwen@linux.alibaba.com>2021-11-15 10:45:07 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-15 15:42:24 +0100
commitcf4f5530bb55ef7d5a91036b26676643b80b1616 (patch)
tree2f0b4def1efc452c8e88cd31eab40a3d9f42b7b4 /security
parentsock: fix /proc/net/sockstat underflow in sk_clone_lock() (diff)
downloadlinux-cf4f5530bb55ef7d5a91036b26676643b80b1616.tar.xz
linux-cf4f5530bb55ef7d5a91036b26676643b80b1616.zip
net/smc: Make sure the link_id is unique
The link_id is supposed to be unique, but smcr_next_link_id() doesn't skip the used link_id as expected. So the patch fixes this. Fixes: 026c381fb477 ("net/smc: introduce link_idx for link group array") Signed-off-by: Wen Gu <guwen@linux.alibaba.com> Reviewed-by: Tony Lu <tonylu@linux.alibaba.com> Acked-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions