diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2014-08-23 00:09:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-23 20:18:34 +0200 |
commit | 739f5e4efc82c4cb6b5201cbed337b6ff663bf19 (patch) | |
tree | 8364fc3cd87910c2aa34b4f6b49ea25e3cf1f720 /Documentation/misc-devices | |
parent | tipc: eliminate port_connect()/port_disconnect() functions (diff) | |
download | linux-739f5e4efc82c4cb6b5201cbed337b6ff663bf19.tar.xz linux-739f5e4efc82c4cb6b5201cbed337b6ff663bf19.zip |
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 <jon.maloy@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/misc-devices')
0 files changed, 0 insertions, 0 deletions