[spring] Question on draft-ietf-spring-srv6-network-programming-12

Christian Hopps <chopps@chopps.org> Sat, 07 March 2020 11:48 UTC

Return-Path: <chopps@chopps.org>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19EF83A11B9 for <spring@ietfa.amsl.com>; Sat, 7 Mar 2020 03:48:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.012
X-Spam-Level:
X-Spam-Status: No, score=0.012 tagged_above=-999 required=5 tests=[SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w8R-P_BnEPIW for <spring@ietfa.amsl.com>; Sat, 7 Mar 2020 03:48:43 -0800 (PST)
Received: from smtp.chopps.org (smtp.chopps.org [54.88.81.56]) by ietfa.amsl.com (Postfix) with ESMTP id DEC593A11B7 for <spring@ietf.org>; Sat, 7 Mar 2020 03:48:24 -0800 (PST)
Received: from stubbs.int.chopps.org (047-050-069-038.biz.spectrum.com [47.50.69.38]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by smtp.chopps.org (Postfix) with ESMTPSA id 5C63B60D73; Sat, 7 Mar 2020 11:48:16 +0000 (UTC)
From: Christian Hopps <chopps@chopps.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\))
Message-Id: <D5A410FF-EEA3-4F01-8147-5E180EE35DE6@chopps.org>
Date: Sat, 07 Mar 2020 06:48:15 -0500
Cc: Christian Hopps <chopps@chopps.org>
To: spring@ietf.org
X-Mailer: Apple Mail (2.3608.40.2.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/TIRrv2rmTTBMbpRpsg13s3QZdUc>
Subject: [spring] Question on draft-ietf-spring-srv6-network-programming-12
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Mar 2020 11:48:54 -0000
X-List-Received-Date: Sat, 07 Mar 2020 11:48:54 -0000

In sections 4.13, (implicitly in 4.14) and 4.15 a set of steps is indicated. As far as I can tell the processing of the IPv6 header chain in all cases is terminated. e.g.,

"
   When N receives a packet whose IPv6 DA is S and S is a local End.BM
   SID, does:

  S01. When an SRH is processed {
  S02.   If (Segments Left == 0) {
...
               Interrupt packet processing and discard the packet.
  S04.   }
  S05.   If (IPv6 Hop Limit <= 1) {
...
               Interrupt packet processing and discard the packet.
  S07.   }
  S09.   If ((Last Entry > max_LE) or (Segments Left > (Last Entry+1)) {
...
               Interrupt packet processing and discard the packet.
  S11.   }
...
  S15.   Submit the packet to the MPLS engine for transmission to the
            topmost label.
  S16. }
"

The text then says:

   When processing the Upper-layer header of a packet matching a FIB
   entry locally instantiated as an SRv6 End.BM SID, process the packet
   as per Section 4.1.1.

Why would I ever be processing the upper-layer header at this point?

Thanks,
Chris.