From: Jon Paul Maloy Date: Fri, 13 Mar 2015 20:08:07 +0000 (-0400) Subject: tipc: eliminate unnecessary linearization of incoming buffers X-Git-Tag: omap-for-v4.2/o2_dc~131^2~243^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1149557d64c97dc9adf3103347a1c0e8c06d3b89;p=pandora-kernel.git tipc: eliminate unnecessary linearization of incoming buffers Currently, TIPC linearizes all incoming buffers directly at reception before passing them upwards in the stack. This is clearly a waste of CPU resources, and must be avoided. In this commit, we eliminate this unnecessary linearization. We still ensure that at least the message header is linear, and that the buffer is linearized where this is still needed, i.e. when unbundling and when reversing messages. In addition, we ensure that fragmented messages are validated after reassembly before delivering them upwards in the stack. Reviewed-by: Erik Hugne Reviewed-by: Ying Xue Signed-off-by: Jon Maloy Signed-off-by: David S. Miller --- Reading git-diff-tree failed