From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Westphal Subject: Re: Best practices on iif usage at persistent ruleset Date: Mon, 3 Jul 2023 17:25:44 +0200 Message-ID: <20230703152544.GD7043@breakpoint.cc> References: Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Serg Cc: netfilter@vger.kernel.org Serg wrote: > I know that there is iifname as a safe alternative, but as far as I know it > has huge performance drawback and thus its' usage is discouraged in my case. Not really. Its copy and compare 4 bytes vs. copy and compare 16 bytes.