aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorJon Maloy <[email protected]>2021-03-17 02:06:09 +0000
committerDavid S. Miller <[email protected]>2021-03-17 18:51:04 +0000
commitb26b5aa9cebe336028421b0641ed762fef81d178 (patch)
tree70b1d57914e3e78969911f9b29dfd3a9d47f708d /net/tipc/node.c
parenttipc: re-organize members of struct publication (diff)
downloadkernel-b26b5aa9cebe336028421b0641ed762fef81d178.tar.gz
kernel-b26b5aa9cebe336028421b0641ed762fef81d178.zip
tipc: move creation of publication item one level up in call chain
We instantiate struct publication in tipc_nametbl_insert_publ() instead of as currently in tipc_service_insert_publ(). This has the advantage that we can pass a pointer to the publication struct to the next call levels, instead of the numerous individual parameters we pass on now. It also gives us a location to keep the contents of the additional fields we will introduce in a later commit. Signed-off-by: Jon Maloy <[email protected]> Acked-by: Ying Xue <[email protected]> Acked-by: Hoang Le <[email protected]> Acked-by: Tung Nguyen <[email protected]> Acked-by: Xin Long <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions