commit | 9b52e3f267a6835efd50ed9002d530666d16a411 | [log] [tgz] |
---|---|---|
author | Stanislav Fomichev <sdf@google.com> | Mon Apr 22 08:55:47 2019 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Apr 23 18:36:34 2019 +0200 |
tree | 4081fba58a7686bfe6c10955772b32d93f1df3a9 | |
parent | 3cbf4ffba5eeec60f82868a5facc1962d8a44d00 [diff] |
flow_dissector: handle no-skb use case When called without skb, gather all required data from the __skb_flow_dissect's arguments and use recently introduces no-skb mode of bpf flow dissector. Note: WARN_ON_ONCE(!net) will now trigger for eth_get_headlen users. Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>