net: qrtr: Stop rx_worker before freeing node
Bjorn Andersson authored
As the endpoint is unregistered there might still be work pending to
handle incoming messages, which will result in a use after free
scenario. The plan is to remove the rx_worker, but until then (and for
stable@) ensure that the work is stopped before the node is freed.

Fixes: bdabad3e

 ("net: Add Qualcomm IPC router")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
73f0c11d