From patchwork Tue Oct 9 12:27:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dotan Barak X-Patchwork-Id: 1569861 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 8E83340135 for ; Tue, 9 Oct 2012 12:28:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754349Ab2JIM2E (ORCPT ); Tue, 9 Oct 2012 08:28:04 -0400 Received: from eu1sys200aog103.obsmtp.com ([207.126.144.115]:45293 "HELO eu1sys200aog103.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754259Ab2JIM2A (ORCPT ); Tue, 9 Oct 2012 08:28:00 -0400 Received: from mtlsws123.lab.mtl.com ([82.166.227.17]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKUHQYS1Si2oJYMm+0zpCdmtlnPpZTHgjb@postini.com; Tue, 09 Oct 2012 12:27:59 UTC Received: from swl021.lab.mtl.com (swl021.lab.mtl.com [10.7.17.21]) by mtlsws123.lab.mtl.com (8.13.8/8.13.8) with ESMTP id q99CRs4w004798; Tue, 9 Oct 2012 14:27:54 +0200 From: Dotan Barak To: sean.hefty@intel.com Cc: linux-rdma@vger.kernel.org, Dotan Barak , Yishai Hadas Subject: [PATCH 4/5] [librdmacm] rstream: added missing return is accept() failed Date: Tue, 9 Oct 2012 14:27:51 +0200 Message-Id: <1349785672-1921-5-git-send-email-dotanb@dev.mellanox.co.il> X-Mailer: git-send-email 1.7.8.2 In-Reply-To: <1349785672-1921-1-git-send-email-dotanb@dev.mellanox.co.il> References: <1349785672-1921-1-git-send-email-dotanb@dev.mellanox.co.il> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Dotan Barak Signed-off-by: Yishai Hadas --- examples/rstream.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/examples/rstream.c b/examples/rstream.c index 6ef60a1..d65c48d 100644 --- a/examples/rstream.c +++ b/examples/rstream.c @@ -464,6 +464,7 @@ static int server_connect(void) if (rs < 0) { ret = rs; perror("raccept"); + return ret; } if (use_fork)