commit | fa246693a111fab32bd51d20f07a347e42773ee9 | [log] [tgz] |
---|---|---|
author | John Fastabend <john.fastabend@gmail.com> | Wed Mar 28 12:49:25 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Mar 30 00:09:43 2018 +0200 |
tree | cc0bae757a14383517dff29029cb1e0a1380c7e9 | |
parent | 2596f64cb2ff5767166bee4e812734747c7a0474 [diff] |
bpf: sockmap, BPF_F_INGRESS flag for BPF_SK_SKB_STREAM_VERDICT: Add support for the BPF_F_INGRESS flag in skb redirect helper. To do this convert skb into a scatterlist and push into ingress queue. This is the same logic that is used in the sk_msg redirect helper so it should feel familiar. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>