diff options
author | Cong Wang <[email protected]> | 2018-09-11 15:12:17 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-09-12 13:15:04 -0700 |
commit | 12a78b026f870c575d3a98998b25084aac5b3c61 (patch) | |
tree | 534aa89682961cea04a61a35c9ba357afe85088b /scripts/bpf_helpers_doc.py | |
parent | 6b4d24de299be72d96c1f3b318905ccaaf47b904 (diff) |
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: [email protected]
Cc: Jon Maloy <[email protected]>
Cc: Ying Xue <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Acked-by: Ying Xue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions