]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: fix bug in function tipc_nl_node_dump_monitor
authorJon Maloy <jon.maloy@ericsson.com>
Wed, 25 Apr 2018 16:29:25 +0000 (18:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 15:03:56 +0000 (11:03 -0400)
commit587f56b173da09df20f45b9b20caa7b1a622690a
tree751e59f6828c6a5659d0d58c58274eeb18adc9a3
parentd10c486ede39bfcde2b4d20260df448679fe128f
tipc: fix bug in function tipc_nl_node_dump_monitor

Commit f4740415d9e3 ("tipc: fix infinite loop when dumping link monitor
summary") intended to fix a problem with user tool looping when max
number of bearers are enabled.

Unfortunately, the wrong version of the commit was posted, so the
problem was not solved at all.

This commit adds the missing part.

Fixes: f4740415d9e3 ("tipc: fix infinite loop when dumping link monitor summary")
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/node.c