summaryrefslogtreecommitdiff
path: root/net/strparser
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>2017-01-24 13:00:47 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-24 16:14:58 -0500
commit4c887aa65d38633885010277f3482400681be719 (patch)
tree8fb8f5a432aee0221919bc347bbbaef9df4fadeb /net/strparser
parent9dc3abdd1f7ea524e8552e0a3ef01219892ed1f4 (diff)
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 'net/strparser')
0 files changed, 0 insertions, 0 deletions