aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-02-01 15:15:22 +0100
committerDavid S. Miller <[email protected]>2019-02-01 10:41:46 -0800
commitba59fb0273076637f0add4311faa990a5eec27c0 (patch)
treea2a036d38544f2cf0dfdc1daa1d13c250b8bd568 /tools/perf/scripts/python/syscall-counts.py
parent34dbba5d2dafc8ec0f9d70a0d9ac5c4504f27ccd (diff)
sctp: walk the list of asoc safely
In sctp_sendmesg(), when walking the list of endpoint associations, the association can be dropped from the list, making the list corrupt. Properly handle this by using list_for_each_entry_safe() Fixes: 4910280503f3 ("sctp: add support for snd flag SCTP_SENDALL process in sendmsg") Reported-by: Secunia Research <[email protected]> Tested-by: Secunia Research <[email protected]> Signed-off-by: Greg Kroah-Hartman <[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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions