From patchwork Tue Oct 20 16:01:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 7448561 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 07CB9BEEA4 for ; Tue, 20 Oct 2015 16:01:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1743220694 for ; Tue, 20 Oct 2015 16:01:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EE17020320 for ; Tue, 20 Oct 2015 16:01:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751036AbbJTQBL (ORCPT ); Tue, 20 Oct 2015 12:01:11 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:35184 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751299AbbJTQBK (ORCPT ); Tue, 20 Oct 2015 12:01:10 -0400 Received: by qkbl190 with SMTP id l190so9546284qkb.2 for ; Tue, 20 Oct 2015 09:01:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=idbiG1HKqa6lJGYM3jxpAx4gg9XCsFD5dIBF3UXEBWk=; b=UXCA2T3wGdxDRPbIih3Y+tosUE3kOI/J/oREIf96ypBhU/HedRp8IamHv94F3mHxZo A+q6HZhnAjpSMtF6/R0ZUWRFDEoAxr+WhJWQTTeSfCDrkzXnlZAxD2y2JIdABPRYrgO3 Ml1R00vDlzLPtI0zzCjjIFhOD48ByDvx929NnPVyb6sMLMEcpkVfZ4DY3I+9aS2Gmhv+ /T8KRjwkDQB87lWLK1tZIsl3o7kkpTK8O2Fo8zSHmPhhZ5fBMHpqlWdqbw8YGM08659d Ai2HnOR7eovxKABbP//s9Jjkg84mTl9XKmBLWWFb3/KvdDrC/RNkVxlN7nLiDdckeIA7 tM+w== X-Gm-Message-State: ALoCoQkQE9FSnOo7QAVBbAZDFgQv0ROi4TbMpE0Pen/poSgdMRDrWFrTU1MP6G1IB5Q1f6tKo0Uy X-Received: by 10.55.197.147 with SMTP id k19mr4852286qkl.11.1445356869869; Tue, 20 Oct 2015 09:01:09 -0700 (PDT) Received: from tlielax.poochiereds.net ([2606:a000:1125:6079::d5a]) by smtp.googlemail.com with ESMTPSA id w32sm1473356qgd.45.2015.10.20.09.01.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 09:01:09 -0700 (PDT) From: Jeff Layton X-Google-Original-From: Jeff Layton To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org Subject: [PATCH 2/2] create_session: ensure that we send an auth flavor in CREATE_SESSION call Date: Tue, 20 Oct 2015 12:01:01 -0400 Message-Id: <1445356861-13860-2-git-send-email-jeff.layton@primarydata.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1445356861-13860-1-git-send-email-jeff.layton@primarydata.com> References: <1445356861-13860-1-git-send-email-jeff.layton@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 ...it is required. Signed-off-by: Jeff Layton --- nfs4.1/server41tests/st_create_session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nfs4.1/server41tests/st_create_session.py b/nfs4.1/server41tests/st_create_session.py index 4c56bb45cc8e..d3b7635545ba 100644 --- a/nfs4.1/server41tests/st_create_session.py +++ b/nfs4.1/server41tests/st_create_session.py @@ -13,7 +13,7 @@ def create_session(c, clientid, sequenceid, cred=None, flags=0): chan_attrs = channel_attrs4(0,8192,8192,8192,128,8,[]) res = c.compound([op.create_session(clientid, sequenceid, flags, chan_attrs, chan_attrs, - 123, [])], cred) + 123, [callback_sec_parms4(0)])], cred) return res ############################################### @@ -305,7 +305,7 @@ def testRdmaArray2(t, env): chan_attrs = channel_attrs4(0,8192,8192,8192,128,8,[13, 57]) ops = [op.create_session(c.clientid, c.seqid, 0, chan_attrs, chan_attrs, - c.c.prog, [])] + c.c.prog, [callback_sec_parms4(0)])] c = c.c xid = c.compound_async(ops, checks=False) try: