Loading
RDMA/siw: Use helper function to set sys_image_guid
mainline inclusion from mainline-v5.17-rc1 commit 0abfc79d category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBI67U CVE: CVE-2024-57857 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0abfc79d724102ec91287e3e77ac8115fcf3ffe9 ------------------------------------------------- Use the addrconf_addr_eui48() helper function to set the sys_image_guid, Also make sure the GUID is valid EUI-64 identifier. Link: https://lore.kernel.org/r/20211124102336.427637-1-kamalheib1@gmail.com Signed-off-by:Kamal Heib <kamalheib1@gmail.com> Acked-by:
Bernard Metzler <bmt@zurich.ibm.com> Signed-off-by:
Jason Gunthorpe <jgg@nvidia.com> Signed-off-by:
Liu Jian <liujian56@huawei.com>