]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Optimize handling excess content on incoming messages
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 8 Sep 2010 13:31:24 +0000 (13:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Sep 2010 04:34:14 +0000 (21:34 -0700)
commit0d7e029853a66293d89ffcab8b48ca36f9cd9951
tree4dc7d0ac0f24001a95a9842a9c58468a343b4e08
parent742d8244014c2b1b0db36309e2feb6e14ecf22ee
tipc: Optimize handling excess content on incoming messages

Remove code that trimmed excess trailing info from incoming messages
arriving over an Ethernet interface.  TIPC now ignores the extra info
while the message is being processed by the node, and only trims it off
if the message is retransmitted to another node.  (This latter step is
done to ensure the extra info doesn't cause the sk_buff to exceed the
outgoing interface's MTU limit.) The outgoing buffer is guaranteed to
be linear.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/eth_media.c
net/tipc/net.c