rds-tcp: sock_graft() leak
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rds: tcp: use sock_create_lite() to create the accept socketnet/ | +1 | 1 reply | |
| 2/2 | net/sock: add WARN_ON(parent->sk) in sock_graft()include/ | +1 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Santosh Shilimkar |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)