syzkaller reported an warning of netns ref tracker for RDS TCP listener, which commit 740ea3c4a0b2 ("tcp: Clean up kernel listener's reqsk in inet_twsk_purge()") partially fixed. This series reverts the partial fix on the TCP side and fixes the root cause on the RDS side. Kuniyuki Iwashima (2): Revert "tcp: Clean up kernel listener's reqsk in inet_twsk_purge()" rds: tcp: Fix use-after-free of net in reqsk_timer_handler(). net/ipv4/inet_timewait_sock.c | 15 +-------------- net/ipv4/tcp_minisocks.c | 9 ++++----- net/rds/tcp_listen.c | 5 +++++ 3 files changed, 10 insertions(+), 19 deletions(-) -- 2.30.2