From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sowmini Varadhan Subject: [PATCH net-next 0/3] rds-tcp netns delete related fixes Date: Thu, 30 Nov 2017 11:11:26 -0800 Message-ID: Cc: davem@davemloft.net, rds-devel@oss.oracle.com, sowmini.varadhan@oracle.com, santosh.shilimkar@oracle.com To: netdev@vger.kernel.org Return-path: Received: from aserp1040.oracle.com ([141.146.126.69]:24130 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750923AbdK3TZL (ORCPT ); Thu, 30 Nov 2017 14:25:11 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Patchset contains cleanup and bug fixes. Patch 1 is the removal of some redundant code/functions. Patch 2 and 3 are fixes for corner cases identified by syzkaller. I've not been able to reproduce the actual use-after-free race flagged in the syzkaller reports, thus these fixes are based on code inspection plus manual testing to make sure the modified code paths are executed without problems in the commonly encountered timing cases. Sowmini Varadhan (3): rds: tcp: remove redundant function rds_tcp_conn_paths_destroy() rds: tcp: correctly sequence cleanup on netns deletion. rds: tcp: atomically purge entries from rds_tcp_conn_list during netns delete net/rds/connection.c | 3 ++- net/rds/rds.h | 6 +++--- net/rds/tcp.c | 38 ++++++++++---------------------------- net/rds/tcp.h | 1 + 4 files changed, 16 insertions(+), 32 deletions(-)