]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: fix return value check in tipc_mcast_send_sync()
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 25 Mar 2019 06:31:09 +0000 (06:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Mar 2019 18:39:37 +0000 (11:39 -0700)
commit995cd46c6e16d9e42050f7656b69eec5a94981a2
tree5c538ed6212adef86be419a24f0b1c1615a791ba
parentd5a7957c163cdfcbdf4dec9b836d3d000f4afb92
tipc: fix return value check in tipc_mcast_send_sync()

Fix the return value check which testing the wrong variable
in tipc_mcast_send_sync().

Fixes: cc4c2aca2006 ("tipc: smooth change between replicast and broadcast")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c