]> git.baikalelectronics.ru Git - kernel.git/commit
net: qrtr: Broadcast DEL_CLIENT message when endpoint is closed
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 7 Jun 2017 21:07:38 +0000 (14:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 15:34:57 +0000 (11:34 -0400)
commitc8fd82726f47e63db11d6965a654817f04c56c83
treec70b725db6818936a335a95948ac2e9a6b92eb42
parent2c4f992ca1fa6484f03439aaca77d4fde6086164
net: qrtr: Broadcast DEL_CLIENT message when endpoint is closed

Per the QMUXv2 protocol specificiation a DEL_CLIENT message should be
broadcasted when an endpoint is disconnected.

The protocol specification does suggest that the router can keep track
of which nodes the endpoint has been communicating with to not wake up
sleeping remotes unecessarily, but implementation of this suggestion is
left for the future.

Cc: Courtney Cavin <ccavin@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/qrtr.c