Re: [PATCH bpf-next v6 3/9] net: plumb network namespace into __skb_flow_dissect

2019-04-22 Thread Stanislav Fomichev
On Mon, Apr 22, 2019 at 11:08 AM Saeed Mahameed wrote: > > On Mon, 2019-04-22 at 08:55 -0700, Stanislav Fomichev wrote: > > This new argument will be used in the next patches for the > > eth_get_headlen use case. eth_get_headlen calls flow dissector > > with only data (without skb) so there is cur

Re: [PATCH bpf-next v6 3/9] net: plumb network namespace into __skb_flow_dissect

2019-04-22 Thread Saeed Mahameed
On Mon, 2019-04-22 at 08:55 -0700, Stanislav Fomichev wrote: > This new argument will be used in the next patches for the > eth_get_headlen use case. eth_get_headlen calls flow dissector > with only data (without skb) so there is currently no way to > pull attached BPF flow dissector program. With

[PATCH bpf-next v6 3/9] net: plumb network namespace into __skb_flow_dissect

2019-04-22 Thread Stanislav Fomichev
This new argument will be used in the next patches for the eth_get_headlen use case. eth_get_headlen calls flow dissector with only data (without skb) so there is currently no way to pull attached BPF flow dissector program. With this new argument, we can amend the callers to explicitly pass networ