tipc: Minor optimizations to received message processing
This patch enhances TIPC's handler for incoming messages in two ways: - the trivial, single-use routine for processing non-sequenced messages has been merged into the main handler - the interface that received a message is now identified without having to access and/or modify the associated sk_buff Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a686e6859e
commit
1265a02108
@@ -48,7 +48,7 @@ struct link_req *tipc_disc_init_link_req(struct bearer *b_ptr,
|
||||
void tipc_disc_update_link_req(struct link_req *req);
|
||||
void tipc_disc_stop_link_req(struct link_req *req);
|
||||
|
||||
void tipc_disc_recv_msg(struct sk_buff *buf);
|
||||
void tipc_disc_recv_msg(struct sk_buff *buf, struct bearer *b_ptr);
|
||||
|
||||
void tipc_disc_link_event(u32 addr, char *name, int up);
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user