diff options
author | Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> | 2017-01-24 13:00:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-24 16:14:58 -0500 |
commit | 4c887aa65d38633885010277f3482400681be719 (patch) | |
tree | 8fb8f5a432aee0221919bc347bbbaef9df4fadeb /fs/locks.c | |
parent | 9dc3abdd1f7ea524e8552e0a3ef01219892ed1f4 (diff) | |
download | linux-4c887aa65d38633885010277f3482400681be719.tar.gz linux-4c887aa65d38633885010277f3482400681be719.tar.bz2 linux-4c887aa65d38633885010277f3482400681be719.zip |
tipc: ignore requests when the connection state is not CONNECTED
In tipc_conn_sendmsg(), we first queue the request to the outqueue
followed by the connection state check. If the connection is not
connected, we should not queue this message.
In this commit, we reject the messages if the connection state is
not CF_CONNECTED.
Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Tested-by: John Thompson <thompa.atl@gmail.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions