netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] rds-tcp: sock_graft() leak
@ 2017-07-06 15:15 Sowmini Varadhan
  2017-07-06 15:15 ` [PATCH net 1/2] rds: tcp: use sock_create_lite() to create the accept socket Sowmini Varadhan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sowmini Varadhan @ 2017-07-06 15:15 UTC (permalink / raw)
  To: netdev; +Cc: davem, sowmini.varadhan, santosh.shilimkar

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.

Sowmini Varadhan (2):
  rds: tcp: use sock_create_lite() to create the accept socket
  net/sock: add WARN_ON(parent->sk) in sock_graft()

 include/net/sock.h   |    1 +
 net/rds/tcp_listen.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-08 10:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-06 15:15 [PATCH net 0/2] rds-tcp: sock_graft() leak Sowmini Varadhan
2017-07-06 15:15 ` [PATCH net 1/2] rds: tcp: use sock_create_lite() to create the accept socket Sowmini Varadhan
2017-07-06 16:43   ` Santosh Shilimkar
2017-07-06 15:15 ` [PATCH net 2/2] net/sock: add WARN_ON(parent->sk) in sock_graft() Sowmini Varadhan
2017-07-08 10:17 ` [PATCH net 0/2] rds-tcp: sock_graft() leak David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).