Files
linux/drivers/infiniband/hw/ocrdma
Jason Gunthorpe 993a0821eb RDMA: Directly cast the sockaddr union to sockaddr
commit 641114d2af upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-03 13:13:44 +02:00
..
2014-01-19 15:16:23 -08:00
2017-01-10 14:05:11 -05:00