commit | 60c102eedea0e487c897dd23cc7fefecf4449769 | [log] [tgz] |
---|---|---|
author | Jon Maloy <jmaloy@redhat.com> | Wed Nov 25 13:29:13 2020 -0500 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri Nov 27 17:34:01 2020 -0800 |
tree | b308bcd3e3bde66c55e312c6db66a57d8318b0d4 | |
parent | fff4c74690018c4f741d1ae68c2ba2143b66844a [diff] |
tipc: refactor tipc_sk_bind() function We refactor the tipc_sk_bind() function, so that the lock handling is handled separately from the logics. We also move some sanity tests to earlier in the call chain, to the function tipc_bind(). Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jmaloy@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>