On Sun, 2 Mar 2025 11:55:34 +0200 Gal Pressman wrote:
quoted
quoted
I can think of something like redirecting all TCP traffic to context 1,
and then a specific TCP 5-tuple to the default context.
The ordering guarantees of ntuple filters are a bit unclear.
My understanding was that first match terminates the search,
actually, so your example wouldn't work :S
The ordering should be done according to the rule location.
* @location: Location of rule in the table. Locations must be
* numbered such that a flow matching multiple rules will be
* classified according to the first (lowest numbered) rule.
I'm aware, Gal, but the question is whether every driver developer
is aware of this, not just me and perhaps you.
The cited patch is a regression from user's perspective. Surely, not an
intended one?
I believe this message should already answer you questions:
https://lore.kernel.org/all/20250226204503.77010912@kernel.org/ (local)
Fix the commit message, add test, repost.