aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorXin Long <[email protected]>2019-01-14 18:34:02 +0800
committerDavid S. Miller <[email protected]>2019-01-16 13:38:06 -0800
commit400b8b9a2a17918f8ce00786f596f530e7f30d50 (patch)
tree958d9769d5932615819baaac4b232fdfb9f1bf30 /tools/perf/scripts/python/futex-contention.py
parent20704bd1633dd5afb29a321d3a615c9c8e9c9d05 (diff)
sctp: allocate sctp_sockaddr_entry with kzalloc
The similar issue as fixed in Commit 4a2eb0c37b47 ("sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event") also exists in sctp_inetaddr_event, as Alexander noticed. To fix it, allocate sctp_sockaddr_entry with kzalloc for both sctp ipv4 and ipv6 addresses, as does in sctp_v4/6_copy_addrlist(). Reported-by: Alexander Potapenko <[email protected]> Signed-off-by: Xin Long <[email protected]> Reported-by: [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/futex-contention.py')
0 files changed, 0 insertions, 0 deletions