Merge branch 'netkit: Add option for scrubbing skb meta data'
authorMartin KaFai Lau <martin.lau@kernel.org>
Tue, 8 Oct 2024 01:42:40 +0000 (18:42 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 8 Oct 2024 01:54:18 +0000 (18:54 -0700)
Daniel Borkmann says:

=====================
This series is to add a NETKIT_SCRUB_NONE mode such that
the netkit device will not scrub the skb->{mark, priority} before
running the netkit bpf prog. This will allow the netkit bpf prog to
implement different policies based on the skb->{mark, priority}.

The default mode NETKIT_SCRUB_DEFAULT will always scrub
the skb->{mark, priority} before calling the netkit bpf prog. This
is the existing behavior of the netkit device and this change
will not affect the existing netkit users.
=====================

Link: https://lore.kernel.org/r/20241004101335.117711-1-daniel@iogearbox.net
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>

Trivial merge