[nfsv4] [Technical Errata Reported] RFC8881 (8022)

RFC Errata System <rfc-editor@rfc-editor.org> Mon, 08 July 2024 12:31 UTC

Return-Path: <wwwrun@rfcpa.rfc-editor.org>
X-Original-To: nfsv4@ietf.org
Delivered-To: nfsv4@ietfa.amsl.com
Received: from rfcpa.rfc-editor.org (unknown [167.172.21.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DB585C1A07F5; Mon, 8 Jul 2024 05:31:54 -0700 (PDT)
Received: by rfcpa.rfc-editor.org (Postfix, from userid 461) id 415CE7FA79; Mon, 8 Jul 2024 05:31:54 -0700 (PDT)
To: dnoveck@netapp.com, chuck.lever@oracle.com, nfsv4-ads@ietf.org, beepee@gmail.com, inacio@cert.org
From: RFC Errata System <rfc-editor@rfc-editor.org>
Content-Type: text/plain; charset="UTF-8"
Message-Id: <20240708123154.415CE7FA79@rfcpa.rfc-editor.org>
Date: Mon, 08 Jul 2024 05:31:54 -0700
Message-ID-Hash: XQGESKPHCZOVFODR6YVILVZDWQZMV7TC
X-Message-ID-Hash: XQGESKPHCZOVFODR6YVILVZDWQZMV7TC
X-MailFrom: wwwrun@rfcpa.rfc-editor.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-nfsv4.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: ed@nuxi.nl, nfsv4@ietf.org, rfc-editor@rfc-editor.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [nfsv4] [Technical Errata Reported] RFC8881 (8022)
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/2J5lyDWE7v8qjpQRb0o2yNP3Ves>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Owner: <mailto:nfsv4-owner@ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Subscribe: <mailto:nfsv4-join@ietf.org>
List-Unsubscribe: <mailto:nfsv4-leave@ietf.org>

The following errata report has been submitted for RFC8881,
"Network File System (NFS) Version 4 Minor Version 1 Protocol".

--------------------------------------
You may review the report below and at:
https://www.rfc-editor.org/errata/eid8022

--------------------------------------
Type: Technical
Reported by: Ed Schouten <ed@nuxi.nl>

Section: 8.2.2

Original Text
-------------
   In making comparisons between seqids, both by the client in
   determining the order of operations and by the server in determining
   whether the NFS4ERR_OLD_STATEID is to be returned, the possibility of
   the seqid being swapped around past the NFS4_UINT32_MAX value needs
   to be taken into account.  When two seqid values are being compared,
   the total count of slots for all sessions associated with the current
   client is used to do this.  When one seqid value is less than this
   total slot count and another seqid value is greater than
   NFS4_UINT32_MAX minus the total slot count, the former is to be
   treated as lower than the latter, despite the fact that it is
   numerically greater.

Corrected Text
--------------
Whatever was stated in RFC 7530 (NFSv4.0), section 9.1.3.

Notes
-----
The number of slots has no relationship with the maximum drift a seqid value may have:

- A single COMPOUND request could contain many operations that cause the seqid to change. For example, one could craft a single COMPOUND request with many of no-op OPEN_DOWNGRADEs that each increment the seqid.

- Imagine a session with two slots. One slot is used in a tight loop to repeatedly invoke OPEN on many different paths, which unbeknownst to the client all refer to the same (hardlinked) file. If the other slot is used to call CLOSE against the same file, it is not unlikely that the difference between the seqid becomes larger than two.

Instructions:
-------------
This erratum is currently posted as "Reported". (If it is spam, it 
will be removed shortly by the RFC Production Center.) Please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
will log in to change the status and edit the report, if necessary.

--------------------------------------
RFC8881 (draft-ietf-nfsv4-rfc5661sesqui-msns-04)
--------------------------------------
Title               : Network File System (NFS) Version 4 Minor Version 1 Protocol
Publication Date    : August 2020
Author(s)           : D. Noveck, Ed., C. Lever
Category            : PROPOSED STANDARD
Source              : Network File System Version 4
Stream              : IETF
Verifying Party     : IESG