commit | 822fe61795018265ae14731d4e5399e5bde36864 | [log] [tgz] |
---|---|---|
author | Stanislav Fomichev <sdf@google.com> | Mon Apr 01 13:57:31 2019 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Apr 03 16:49:48 2019 +0200 |
tree | 46a279c48db0fef4326e864ffc60df9146c99e19 | |
parent | 2c3af7d901c61c101c02f431cfb520af9ff56ab4 [diff] |
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. Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>