mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-22 18:22:42 +00:00
RDMA/cma: Increment port number after close to avoid re-use
Randomize the starting port number and avoid re-using port values immediately after they are closed. Instead keep track of the last port value used and increment it every time a new port number is assigned, to better replicate other port spaces. Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
65e5c02621
commit
aedec08050
1 changed files with 56 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue