From: Jon Paul Maloy Date: Thu, 26 Jun 2014 01:41:33 +0000 (-0500) Subject: tipc: make link mtu easily accessible from socket X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~255^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16e166b88cdfd508b88934ec0c8a0ec97e6b30f8;p=pandora-kernel.git tipc: make link mtu easily accessible from socket Message fragmentation is currently performed at link level, inside the protection of node_lock. This potentially binds up the sending link structure for a long time, instead of letting it do other tasks, such as handle reception of new packets. In this commit, we make the MTUs of each active link become easily accessible from the socket level, i.e., without taking any spinlock or dereferencing the target link pointer. This way, we make it possible to perform fragmentation in the sending socket, before sending the whole fragment chain to the link for transport. Signed-off-by: Jon Maloy Reviewed-by: Erik Hugne Reviewed-by: Ying Xue Signed-off-by: David S. Miller --- Reading git-diff-tree failed