Cong Wang 12a78b026f tipc: check return value of __tipc_dump_start()
When __tipc_dump_start() fails with running out of memory,
we have no reason to continue, especially we should avoid
calling tipc_dump_done().

Fixes: 8f5c5fcf3533 ("tipc: call start and done ops directly in __tipc_nl_compat_dumpit()")
Reported-and-tested-by: syzbot+3f8324abccfbf8c74a9f@syzkaller.appspotmail.com
Cc: Jon Maloy <jon.maloy@ericsson.com>
Cc: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-12 13:15:04 -07:00
..
2018-03-23 13:12:18 -04:00
2018-03-27 13:18:09 -04:00
2018-08-29 18:04:54 -07:00
2018-07-21 16:23:22 -07:00
2018-07-21 16:23:22 -07:00
2018-07-21 16:23:22 -07:00
2016-07-26 14:26:42 -07:00
2018-08-29 18:04:54 -07:00