]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: simplify signature of tipc_namtbl_publish()
authorJon Maloy <jmaloy@redhat.com>
Wed, 17 Mar 2021 02:06:11 +0000 (22:06 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2021 18:51:04 +0000 (11:51 -0700)
commitadb39cb3344e2c0f624b62998c9dcae91047801b
tree2a85fa5c562ddad86125bcd17ef3278359b913d3
parent5a2dec1e5fa7db97b07ad431fd325b0bab36a54d
tipc: simplify signature of tipc_namtbl_publish()

Using the new address structure tipc_uaddr, we simplify the signature
of function tipc_sk_publish() and tipc_namtbl_publish() so that fewer
parameters need to be passed around.

Signed-off-by: Jon Maloy <jmaloy@redhat.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Hoang Le <hoang.h.le@dektech.com.au>
Acked-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Acked-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_table.c
net/tipc/name_table.h
net/tipc/net.c
net/tipc/node.c
net/tipc/socket.c