linux-brain/net/qrtr
Wang Wenhu c08e523e15 net: qrtr: send msgs from local of same id as broadcast
[ Upstream commit 6dbf02acef69b0742c238574583b3068afbd227c ]

If the local node id(qrtr_local_nid) is not modified after its
initialization, it equals to the broadcast node id(QRTR_NODE_BCAST).
So the messages from local node should not be taken as broadcast
and keep the process going to send them out anyway.

The definitions are as follow:
static unsigned int qrtr_local_nid = NUMA_NO_NODE;

Fixes: fdf5fd3975 ("net: qrtr: Broadcast messages only from control port")
Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-21 09:03:04 +02:00
..
Kconfig net: qrtr: Expose tunneling endpoint to user space 2018-04-27 15:06:10 -04:00
Makefile net: qrtr: Expose tunneling endpoint to user space 2018-04-27 15:06:10 -04:00
qrtr.c net: qrtr: send msgs from local of same id as broadcast 2020-04-21 09:03:04 +02:00
qrtr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smd.c qrtr: add MODULE_ALIAS macro to smd 2018-02-26 15:07:04 -05:00
tun.c net: qrtr: fix memort leak in qrtr_tun_write_iter 2019-12-13 08:52:58 +01:00