From patchwork Thu Sep 17 20:45:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 7210361 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 418DD9F32B for ; Thu, 17 Sep 2015 20:45:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF43B204AF for ; Thu, 17 Sep 2015 20:45:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E9D032049D for ; Thu, 17 Sep 2015 20:45:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751693AbbIQUpw (ORCPT ); Thu, 17 Sep 2015 16:45:52 -0400 Received: from mail-qk0-f179.google.com ([209.85.220.179]:36506 "EHLO mail-qk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633AbbIQUpv (ORCPT ); Thu, 17 Sep 2015 16:45:51 -0400 Received: by qkcf65 with SMTP id f65so11861936qkc.3; Thu, 17 Sep 2015 13:45:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:from:to:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=qQrV1DfmcGP3ww8VVW2/R3Hp9L+6rGuTMq+kPSpdw6g=; b=ETvEGaW7FCLE7p36opR9mHuvx1fHqgiUAM01e5NoXjddDWD4TNkS0T5R9n3JYMevlg iU3Wzn+MiuG8y3wtNLSoPjnTt3uODL9mXalL/RoKALAuikRF6w5q8x7hbLI79ox9xesz I31kAre+B1wNn4YKUQC9Jjikra/9M4HGur69nQZcuthzaV0bjfDRmK5c/owkdmMieeYY uxDbElRjTxS8qZxkGzgAdjy5P0mqpyXQFRb+bFHDQCIfLsot3fAasZOxMc12cmF5Xkht /Y0RZ375MEslEt5uLQBcIyMmI88St1pOrQEpawP+ED6kd2tfIP8cR5mwsLIWaCplV5ok dpvg== X-Received: by 10.55.198.201 with SMTP id s70mr2164448qkl.42.1442522751071; Thu, 17 Sep 2015 13:45:51 -0700 (PDT) Received: from manet.1015granger.net ([2604:8800:100:81fc:82ee:73ff:fe43:d64f]) by smtp.gmail.com with ESMTPSA id r5sm2058149qki.16.2015.09.17.13.45.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Sep 2015 13:45:50 -0700 (PDT) Subject: [PATCH v1 12/18] SUNRPC: Remove the TCP-only restriction in bc_svc_process() From: Chuck Lever To: linux-rdma@vger.kernel.org, linux-nfs@vger.kernel.org Date: Thu, 17 Sep 2015 16:45:49 -0400 Message-ID: <20150917204549.19671.26366.stgit@manet.1015granger.net> In-Reply-To: <20150917202829.19671.90044.stgit@manet.1015granger.net> References: <20150917202829.19671.90044.stgit@manet.1015granger.net> User-Agent: StGit/0.17.1-3-g7d0f MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allow the use of other transport classes when handling a backward direction RPC call. Signed-off-by: Chuck Lever --- net/sunrpc/svc.c | 5 ----- 1 file changed, 5 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index a8f579d..bc5b7b5 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -1367,11 +1367,6 @@ bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req, /* reset result send buffer "put" position */ resv->iov_len = 0; - if (rqstp->rq_prot != IPPROTO_TCP) { - printk(KERN_ERR "No support for Non-TCP transports!\n"); - BUG(); - } - /* * Skip the next two words because they've already been * processed in the transport