]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: tcp: fix memory leak in TIME_WAIT sockets
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Wed, 7 Jun 2017 21:09:38 +0000 (14:09 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 10 Jun 2017 00:51:01 +0000 (17:51 -0700)
commit3235fef9a6f8501079f8c899f392b5daf06c2db4
tree63d753db49acfe8780d928d68459ff6eb33ca995
parent411f45d3d00b20a29098c5763e61cabdb7d86cb4
rds: tcp: fix memory leak in TIME_WAIT sockets

Due to a toxic cocktail of an endian-ness bug, plus some other changes
in mprds to make sure that the side with the numerically smaller address
must initiate the tcp connection, end result is an infinite connection
attempt and a memory leak in TIME_WAIT sockets.

Orabug: 26250066

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/tcp_listen.c