summaryrefslogtreecommitdiff
path: root/include/linux/lsm_hook_defs.h
diff options
context:
space:
mode:
authorPatrisious Haddad <phaddad@nvidia.com>2023-01-04 11:01:38 +0300
committerLeon Romanovsky <leon@kernel.org>2023-01-10 11:11:27 +0300
commit8d037973d48c026224ab285e6a06985ccac6f7bf (patch)
tree61cb03f35df23b9dba82d5f9833e76dd0104cf89 /include/linux/lsm_hook_defs.h
parent1d91855304c2046115ee10be2c93161d93d5d40d (diff)
downloadlinux-8d037973d48c026224ab285e6a06985ccac6f7bf.tar.xz
RDMA/core: Refactor rdma_bind_addr
Refactor rdma_bind_addr function so that it doesn't require that the cma destination address be changed before calling it. So now it will update the destination address internally only when it is really needed and after passing all the required checks. Which in turn results in a cleaner and more sensible call and error handling flows for the functions that call it directly or indirectly. Signed-off-by: Patrisious Haddad <phaddad@nvidia.com> Reported-by: Wei Chen <harperchen1110@gmail.com> Reviewed-by: Mark Zhang <markzhang@nvidia.com> Link: https://lore.kernel.org/r/3d0e9a2fd62bc10ba02fed1c7c48a48638952320.1672819273.git.leonro@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux/lsm_hook_defs.h')
0 files changed, 0 insertions, 0 deletions