]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
commitd137af8768580378a6692c50db66c613ce9114cc
tree0e94eb12fd4088f28cc578d826537d962d7fc019
parent8f5b408d7661e33157b16c4e4d232f483e8e4f79
parent716fa7dadf116ec4a27f56558b2a5bdd7e8decab
Merge branch 'netkit: Add option for scrubbing skb meta data'

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>