From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 15/15] IB/srpt: Fix a rare crash in srpt_close_session() Date: Wed, 6 Jan 2016 06:23:30 +0100 Message-ID: <20160106052330.GO15574@lst.de> References: <568BD0FC.70207@sandisk.com> <568BD2E1.1060701@sandisk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <568BD2E1.1060701-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bart Van Assche Cc: Doug Ledford , Christoph Hellwig , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org > srpt_disconnect_ch(ch); > > + kref_put(&ch->kref, srpt_free_ch); At some point it might be a good idea to have a srpt_put_ch helper to wrap this pattern. Otherwise looks good: Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html