diff --git a/net/tipc/node.c b/net/tipc/node.c index 6f98b56dd48ece2cbedb19d6e44fd9c55488e7a9..baaf93f12cbd0de5b4ce002ac0bcbc818f7d03ac 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -2244,7 +2244,7 @@ int tipc_nl_node_dump_monitor(struct sk_buff *skb, struct netlink_callback *cb) rtnl_lock(); for (bearer_id = prev_bearer; bearer_id < MAX_BEARERS; bearer_id++) { - err = __tipc_nl_add_monitor(net, &msg, prev_bearer); + err = __tipc_nl_add_monitor(net, &msg, bearer_id); if (err) break; }