Linux NFS development
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@poochiereds.net>
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	[thread overview]
Message-ID: <1445356861-13860-2-git-send-email-jeff.layton@primarydata.com> (raw)
In-Reply-To: <1445356861-13860-1-git-send-email-jeff.layton@primarydata.com>

...it is required.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
---
 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:
-- 
2.4.3


  reply	other threads:[~2015-10-20 16:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 16:01 [PATCH 1/2] nfs41: add some READ/WRITE tests for special stateids Jeff Layton
2015-10-20 16:01 ` Jeff Layton [this message]
2015-10-21 15:59   ` [PATCH 2/2] create_session: ensure that we send an auth flavor in CREATE_SESSION call J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445356861-13860-2-git-send-email-jeff.layton@primarydata.com \
    --to=jlayton@poochiereds.net \
    --cc=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox