]> git.baikalelectronics.ru Git - kernel.git/commit
net: qrtr: Respond to HELLO message
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 2 Mar 2020 07:03:04 +0000 (23:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 01:52:21 +0000 (17:52 -0800)
commit715f9130be93d360136fb98ee9c6d630b33f227f
tree0cc5793182972244b1bdfad6c14d15e6e02c4c95
parent6dd9eec392f9d3c2e54b2fba2538979f20d264fa
net: qrtr: Respond to HELLO message

Lost in the translation from the user space implementation was the
detail that HELLO mesages must be exchanged between each node pair.  As
such the incoming HELLO must be replied to.

Similar to the previous implementation no effort is made to prevent two
Linux boxes from continuously sending HELLO messages back and forth,
this is left to a follow up patch.

say_hello() is moved, to facilitate the new call site.

Fixes: c2942963826d ("net: qrtr: Migrate nameservice to kernel from userspace")
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/ns.c