[LU-14006] raise CAP_NET_BIND_SERVICE before calling rdma_resolve_addr() Created: 02/Oct/20  Updated: 14/Apr/23  Resolved: 12/Oct/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.14.0

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-14296 really raise CAP_NET_BIND_SERVICE bef... Resolved
is related to LU-16644 LNetError kiblnd_connect_peer() Can't... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

We need to ensure that the current task has CAP_NET_BIND_SERVICE before calling kiblnd_resolve_addr() which in turn calls rdma_resolve_addr() with a protected source port.



 Comments   
Comment by Gerrit Updater [ 02/Oct/20 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40127
Subject: LU-14006 o2ib: raise bind cap before resolving address
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d8a2aacd0c20882aff1e31f8930dc31f38185231

Comment by Gerrit Updater [ 12/Oct/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40127/
Subject: LU-14006 o2ib: raise bind cap before resolving address
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1e4bd16acfa26a06486ebd3426547502eedefa45

Comment by Peter Jones [ 12/Oct/20 ]

Landed for 2.14

Comment by Gerrit Updater [ 14/Apr/23 ]

"Olaf Faaland <faaland1@llnl.gov>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50642
Subject: LU-14006 o2ib: raise bind cap before resolving address
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 9f64f159bf57b25fcd25bf8c4a3c483192840f56

Generated at Sat Feb 10 03:06:02 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.