tipc: make name table distributor use new send function
In a previous commit series ("tipc: new unicast transmission code") we introduced a new message sending function, tipc_link_xmit2(), and moved the unicast data users over to use that function. We now let the internal name table distributor do the same. The interaction between the name distributor and the node/link layer also becomes significantly simpler, so we can eliminate the function tipc_link_names_xmit(). Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a9f559c37b
commit
dbdf6d24ad
5 changed files with 48 additions and 85 deletions
|
@ -228,7 +228,6 @@ void tipc_link_reset(struct tipc_link *l_ptr);
|
|||
void tipc_link_reset_list(unsigned int bearer_id);
|
||||
int tipc_link_xmit(struct sk_buff *buf, u32 dest, u32 selector);
|
||||
int tipc_link_xmit2(struct sk_buff *buf, u32 dest, u32 selector);
|
||||
void tipc_link_names_xmit(struct list_head *message_list, u32 dest);
|
||||
int __tipc_link_xmit(struct tipc_link *l_ptr, struct sk_buff *buf);
|
||||
int __tipc_link_xmit2(struct tipc_link *link, struct sk_buff *buf);
|
||||
int tipc_link_send_buf(struct tipc_link *l_ptr, struct sk_buff *buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue