linux/drivers/infiniband/sw
Bart Van Assche 219e92c252 RDMA/siw: Fix port number endianness in a debug message
commit 050dbddf24 upstream.

sin_port and sin6_port are big endian member variables. Convert these port
numbers into CPU endianness before printing.

Link: https://lore.kernel.org/r/20190930231707.48259-5-bvanassche@acm.org
Fixes: 6c52fdc244 ("rdma/siw: connection management")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:48:37 +01:00
..
rdmavt
rxe rxe: correctly calculate iCRC for unaligned payloads 2020-01-09 10:19:44 +01:00
siw RDMA/siw: Fix port number endianness in a debug message 2020-01-17 19:48:37 +01:00
Makefile