diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-04-22 08:55:47 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-04-23 18:36:34 +0200 |
commit | 9b52e3f267a6835efd50ed9002d530666d16a411 (patch) | |
tree | 4081fba58a7686bfe6c10955772b32d93f1df3a9 /net/ethernet | |
parent | 3cbf4ffba5eeec60f82868a5facc1962d8a44d00 (diff) | |
download | linux-next-9b52e3f267a6835efd50ed9002d530666d16a411.tar.gz |
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>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions