[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1499352757.git.sowmini.varadhan@oracle.com>
Date: Thu, 6 Jul 2017 08:15:05 -0700
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, sowmini.varadhan@...cle.com,
santosh.shilimkar@...cle.com
Subject: [PATCH net 0/2] 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.
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(-)
Powered by blists - more mailing lists