diff options
author | Wei Yongjun <[email protected]> | 2017-10-31 13:28:16 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-11-01 21:24:41 +0900 |
commit | dc82673f0cb5175dcec87041441cdb107932cd07 (patch) | |
tree | 24623c590d10295e534c541e8782951d30ce6bda /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 85cf7a62924927119bce5e65b008fcb8ed455914 (diff) |
sctp: fix error return code in sctp_send_add_streams()
Fix to returnerror code -ENOMEM from the sctp_make_strreset_addstrm()
error handling case instead of 0. 'retval' can be overwritten to 0 after
call sctp_stream_alloc_out().
Fixes: e090abd0d81c ("sctp: factor out stream->out allocation")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions