diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-05-12 21:57:57 -0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-05-13 22:16:38 -0300 |
commit | 641114d2af312d39ca9bbc2369d18a5823da51c6 (patch) | |
tree | 201a6f271350522a37f38da975972f72e7a2a07e /scripts/gdb/linux/lists.py | |
parent | b79656ed44c6865e17bcd93472ec39488bcc4984 (diff) | |
download | linux-stable-641114d2af312d39ca9bbc2369d18a5823da51c6.tar.gz linux-stable-641114d2af312d39ca9bbc2369d18a5823da51c6.tar.bz2 linux-stable-641114d2af312d39ca9bbc2369d18a5823da51c6.zip |
RDMA: Directly cast the sockaddr union to sockaddr
gcc 9 now does allocation size tracking and thinks that passing the member
of a union and then accessing beyond that member's bounds is an overflow.
Instead of using the union member, use the entire union with a cast to
get to the sockaddr. gcc will now know that the memory extends the full
size of the union.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions