tipc: refactor function tipc_sk_filter_connect()
authorJon Maloy <jon.maloy@ericsson.com>
Fri, 28 Sep 2018 18:23:20 +0000 (20:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Sep 2018 18:24:22 +0000 (11:24 -0700)
commit39fdc9c71f652cdf056ec3341581bde805444b57
treeeb6ce5299b378d35ec50cfb155ed3d33d9ecab17
parentafe8792fec69c693060c0db43ed4bf05d92ce45b
tipc: refactor function tipc_sk_filter_connect()

We refactor the function tipc_sk_filter_connect(), both to make it
more readable and as a preparation for the next commit.

Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c