From: "J. Bruce Fields" <bfields@fieldses.org>
To: Kinglong Mee <kinglongmee@gmail.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
tigran.mkrtchyan@desy.de
Subject: Re: [PATCH 3/4] 4.1 xdrdef: Fix bad define of sec_label4
Date: Thu, 30 Jul 2015 11:48:46 -0400 [thread overview]
Message-ID: <20150730154846.GI9349@fieldses.org> (raw)
In-Reply-To: <55BA130C.1050604@gmail.com>
On Thu, Jul 30, 2015 at 08:05:32PM +0800, Kinglong Mee wrote:
> On 7/30/2015 03:37, J. Bruce Fields wrote:
> > On Tue, Jul 28, 2015 at 07:46:35PM +0800, Kinglong Mee wrote:
> >> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
> >> ---
> >
> > See nfs4.1/xdrdef/README and please update that README and nfs4.x.diff
> > too if necessary (and report to nfsv4@ietf.org if this is still a bug in
> > the minorversion 2 draft).
>
> Description at,
> https://tools.ietf.org/html/draft-ietf-nfsv4-minorversion2-38#section-12.2.4
>
> "The FATTR4_SEC_LABEL contains an array of two components with the
> first component being an LFS."
>
> It seems both nfs server and client have wrong implement, not the rfc's bug.
It looks like an rfc bug to me. Doesn't it have conflicting definitions
for sec_label4?
--b.
>
> xdrdef/nfs4.x is out of date, just update it.
>
> thanks,
> Kinglong Mee
>
> >
> > --b.
> >
> >> nfs4.1/xdrdef/nfs4.x | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/nfs4.1/xdrdef/nfs4.x b/nfs4.1/xdrdef/nfs4.x
> >> index 024e0b4..cb3db7e 100644
> >> --- a/nfs4.1/xdrdef/nfs4.x
> >> +++ b/nfs4.1/xdrdef/nfs4.x
> >> @@ -852,7 +852,7 @@ typedef change_policy4 fattr4_change_policy;
> >> typedef uint64_t fattr_space_freed;
> >> typedef change_attr_type4
> >> fattr4_change_attr_type;
> >> -typedef sec_label4 fattr_sec_label<>;
> >> +typedef sec_label4 fattr4_sec_label;
> >>
> >> %/*
> >> % * REQUIRED Attributes
> >> --
> >> 2.4.3
> >
prev parent reply other threads:[~2015-07-30 15:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 11:46 [PATCH 3/4] 4.1 xdrdef: Fix bad define of sec_label4 Kinglong Mee
2015-07-29 19:37 ` J. Bruce Fields
2015-07-30 12:05 ` Kinglong Mee
2015-07-30 12:13 ` [PATCH v2] 4.1 xdrdef: Update nfs4.x to the latest dot-x-38.txt Kinglong Mee
2015-08-18 19:27 ` J. Bruce Fields
2015-07-30 14:22 ` [PATCH] NFSD: Encode security label as an array Kinglong Mee
2015-07-30 14:22 ` [PATCH] NFS: Decode " Kinglong Mee
2015-07-30 15:48 ` J. Bruce Fields [this message]
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=20150730154846.GI9349@fieldses.org \
--to=bfields@fieldses.org \
--cc=kinglongmee@gmail.com \
--cc=linux-nfs@vger.kernel.org \
--cc=tigran.mkrtchyan@desy.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.