diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-06-04 17:32:35 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-04 17:32:35 -0700 |
commit | 1265a02108c508b508112cdeac922aad03e0146a (patch) | |
tree | 3a52ee41e6273650bcfb2d3df9c5d17ecd08361a /net/tipc/discover.h | |
parent | a686e6859e976712e28f6af927cd52a6a3bb372a (diff) | |
download | talos-obmc-linux-1265a02108c508b508112cdeac922aad03e0146a.tar.gz talos-obmc-linux-1265a02108c508b508112cdeac922aad03e0146a.zip |
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>
Diffstat (limited to 'net/tipc/discover.h')
-rw-r--r-- | net/tipc/discover.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/discover.h b/net/tipc/discover.h index 9fd7587b143a..c36eaeb7d5d0 100644 --- a/net/tipc/discover.h +++ b/net/tipc/discover.h @@ -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 |