From: Jon Paul Maloy Date: Fri, 22 Aug 2014 22:09:12 +0000 (-0400) Subject: tipc: redefine message acknowledge function X-Git-Tag: fixes-against-v3.18-rc2~81^2~242^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=739f5e4efc82c4cb6b5201cbed337b6ff663bf19;p=pandora-kernel.git tipc: redefine message acknowledge function The function tipc_acknowledge() is a remnant from the obsolete native API. Currently, it grabs port_lock, before building an acknowledge message and sending it to the peer. Since all access to socket members now is protected by the socket lock, it has become unnecessary to grab port_lock here. In this commit, we remove the usage of port_lock, simplify the function, and move it to socket.c, renaming it to tipc_sk_send_ack(). Signed-off-by: Jon Maloy Reviewed-by: Erik Hugne Reviewed-by: Ying Xue Signed-off-by: David S. Miller --- Reading git-diff-tree failed