From: Jon Maloy
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
Signed-off-by: Jon Maloy
---
net/tipc/socket.c | 66 ++
From: Jon Maloy
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
Signed-off-by: Jon Maloy
---
net/tipc/socket.c | 66 ++