]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge branch 'rds-tcp-sock_graft-leak'
authorDavid S. Miller <davem@davemloft.net>
Sat, 8 Jul 2017 10:16:16 +0000 (11:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jul 2017 10:16:16 +0000 (11:16 +0100)
Sowmini Varadhan says:

====================
rds-tcp: sock_graft() leak

Following up on the discussion at
  https://www.spinics.net/lists/netdev/msg442859.html
- make rds_tcp_accept_one() call sock_create_lite()
- add a WARN_ON() to sock_graft()

Tested by running an infinite while() loop that does
(module-load; rds-stress; module-unload) and monitors
TCP slabinfo while the test is running.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge