From patchwork Tue Oct 6 15:00:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 7335751 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 878B79F1D5 for ; Tue, 6 Oct 2015 15:00:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B321A20460 for ; Tue, 6 Oct 2015 15:00:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB2D1202B4 for ; Tue, 6 Oct 2015 15:00:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752700AbbJFPAn (ORCPT ); Tue, 6 Oct 2015 11:00:43 -0400 Received: from mail-io0-f181.google.com ([209.85.223.181]:35825 "EHLO mail-io0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753042AbbJFPAl (ORCPT ); Tue, 6 Oct 2015 11:00:41 -0400 Received: by ioiz6 with SMTP id z6so224288803ioi.2; Tue, 06 Oct 2015 08:00:40 -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=ZsNWOdVMUOUoQqO7JrFUTbKZe74gIo3p8AaL3vNKtlgqC0SwVMSHszLE2uKRMsd6Jv dY/QuBP/8uPKg0eK3Do1FSzDYvGuA9iwcW7blD+i60UHP2MyLhJbOeGdxgCgvwccLqcp xXVsvx6SlSU5mIUPFxoG0Kkol7LcajNJucbanDwJ6jwcEYCIO0QN5UcdKg4zYyNIbdyA MYqKJpBkOnobeRE/qD3ZGn/2Am3gkcwDLELCyjK0W5krPtx/0xgDrWUrJIkR+CeoFQv3 TiIiJIEDji753OtXhOokydDeTOAxjRRSOKxg+Dwy0kqkvumOp5RZeECG37WwJnrwQeEs wGjA== X-Received: by 10.107.167.204 with SMTP id q195mr42248098ioe.119.1444143640399; Tue, 06 Oct 2015 08:00:40 -0700 (PDT) Received: from manet.1015granger.net ([2604:8800:100:81fc:82ee:73ff:fe43:d64f]) by smtp.gmail.com with ESMTPSA id u99sm12422016ioi.0.2015.10.06.08.00.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Oct 2015 08:00:39 -0700 (PDT) Subject: [PATCH v2 15/16] 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: Tue, 06 Oct 2015 11:00:38 -0400 Message-ID: <20151006150038.11788.78998.stgit@manet.1015granger.net> In-Reply-To: <20151006142430.11788.42604.stgit@manet.1015granger.net> References: <20151006142430.11788.42604.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