diff options
author | Xin Long <[email protected]> | 2017-06-20 16:05:11 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-20 15:32:55 -0400 |
commit | 5ee8aa689780f2c19702fe3768a3103b9c07d72e (patch) | |
tree | 51756f9ea4bb01a443a783b5cb22f0f587dcff9b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 8cd5c25f2db03306727d2f6b8f28956169dc1123 (diff) |
sctp: handle errors when updating asoc
It's a bad thing not to handle errors when updating asoc. The memory
allocation failure in any of the functions called in sctp_assoc_update()
would cause sctp to work unexpectedly.
This patch is to fix it by aborting the asoc and reporting the error when
any of these functions fails.
Signed-off-by: Xin Long <[email protected]>
Acked-by: Neil Horman <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions