tipc: Minor optimizations to received message processing
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 5 Jun 2008 00:32:35 +0000 (17:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2008 00:32:35 +0000 (17:32 -0700)
commit1265a02108c508b508112cdeac922aad03e0146a
tree3a52ee41e6273650bcfb2d3df9c5d17ecd08361a
parenta686e6859e976712e28f6af927cd52a6a3bb372a
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>
net/tipc/discover.c
net/tipc/discover.h
net/tipc/link.c