rds: tcp: various endian-ness fixes
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Thu, 15 Jun 2017 18:28:54 +0000 (11:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jun 2017 16:45:15 +0000 (12:45 -0400)
commit00354de5779db4aa9c019db787ef89bd1a6b149b
tree94bdcc84fb39332c5fb175cbe50c4cfb32acadc4
parent41500c3e2a19ffcf40a7158fce1774de08e26ba2
rds: tcp: various endian-ness fixes

Found when testing between sparc and x86 machines on different
subnets, so the address comparison patterns hit the corner cases and
brought out some bugs fixed by this patch.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Tested-by: Imanti Mendez <imanti.mendez@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/rds.h
net/rds/recv.c
net/rds/send.c
net/rds/tcp_connect.c
net/rds/tcp_listen.c
net/rds/threads.c