public inbox for netfilter@vger.kernel.org
 help / color / mirror / Atom feed
From: <imnozi@gmail.com>
To: "Thomas Köller" <thomas@koeller.dyndns.org>
Cc: netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org
Subject: Re: Dropping of the end of a chain
Date: Thu, 14 Nov 2024 20:30:14 -0500	[thread overview]
Message-ID: <20241114203014.38526924@playground> (raw)
In-Reply-To: <f6857dc4-84a7-4bc5-aefe-c3b893671e8c@koeller.dyndns.org>

On Thu, 14 Nov 2024 15:01:33 +0100
Thomas Köller <thomas@koeller.dyndns.org> wrote:

> The nft manpage states that if the end of a chain invoked via 'goto' is 
> reached without a verdict, 'evaluation will continue at the last chain 
> instead of the one containing the goto statement'. I cannot make sense 
> of this; what is the 'last chain'?


I believe 'last chain' means the chain that called the one containing the 'goto'. In programming, 'goto' differs from 'gosub'. Here, 'goto' has the same connotations in that it skips the 'calling conventions' so that returning from the called chain without a verdict is the same as returning from the calling chain without a verdict.

N

      parent reply	other threads:[~2024-11-15  1:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14 14:01 Dropping of the end of a chain Thomas Köller
2024-11-14 15:06 ` Daniel Lakeland
2024-11-14 15:56   ` Kerin Millar
2024-11-14 15:51 ` Kerin Millar
2024-11-14 16:26   ` Kerin Millar
2024-11-14 20:47     ` Pablo Neira Ayuso
2024-11-14 22:06       ` Kerin Millar
2024-11-14 22:40         ` Daniel Lakeland
2024-11-15  8:59         ` Pablo Neira Ayuso
2024-11-15  1:30 ` imnozi [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=20241114203014.38526924@playground \
    --to=imnozi@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@vger.kernel.org \
    --cc=thomas@koeller.dyndns.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