]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
commit5dc314f8ded18e2b0ffce55a5f253c8aa759d51a
tree606445d216e1fb481b1d6e8d5f1fb264d41fa4f9
parent9dc351da7503b568fb877ad02688b29ad95c32af
parent0ffdaf5b41cf4435ece14d1d3e977ce69012a20d
Merge branch 'rds-tcp-sock_graft-leak'

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>