Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit 00daadfd authored by Stanislav Fomichev's avatar Stanislav Fomichev Committed by basamaryan
Browse files

UPSTREAM: net/flow_dissector: pass flow_keys->n_proto to BPF programs



This is a preparation for the next commit that would prohibit access to
the most fields of __sk_buff from the BPF programs.

Instead of requiring BPF flow dissector programs to look into skb,
pass all input data in the flow_keys.

Change-Id: Ife5f0f15775b25806e5c9da699966a9f0a0d95c8
Signed-off-by: default avatarStanislav Fomichev <sdf@google.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 0f6ef50b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment