diff options
author | WANG Cong <[email protected]> | 2017-07-26 15:22:07 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-07-29 11:25:05 -0700 |
commit | 996f6e12cfb33ff6c3e39b4511bb3b8bc564b342 (patch) | |
tree | f497109f548a6bbf976af1d0cada00b06387cd73 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 0254e0c632bfe4a0cf610e2d90397474144f00d2 (diff) |
team: use a larger struct for mac address
IPv6 tunnels use sizeof(struct in6_addr) as dev->addr_len,
but in many places especially bonding, we use struct sockaddr
to copy and set mac addr, this could lead to stack out-of-bounds
access.
Fix it by using a larger address storage like bonding.
Reported-by: Andrey Konovalov <[email protected]>
Cc: Jiri Pirko <[email protected]>
Signed-off-by: Cong Wang <[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