net: qrtr: Do not send packets before Hello negotiation
There is a race where broadcast packets can be sent to a node that has
not sent the hello message to the remote processor. This breaks the
protocol expectation. Add a status variable to track when the hello
packet has been sent.
An alternative solution attempted was to remove the nodes from the
broadcast list until the hello packet is sent. This is not a valid
solution because hello messages are broadcasted if the ns is restarted
or started late. There needs to be a status variable separate from the
broadcast list.
Change-Id: I62d2a0241f1e33ef8849164a3334fe213bc0f8c8
Signed-off-by:
Chris Lew <clew@codeaurora.org>
Loading
Please register or sign in to comment