commit | 97f91a7cf04ff605845c20948b8a80e54cbd3376 | [log] [tgz] |
---|---|---|
author | John Fastabend <john.fastabend@gmail.com> | Mon Jul 17 09:29:18 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 17 09:48:06 2017 -0700 |
tree | 0d5c2872667d06e7e2a7f83253505c5170a0258b | |
parent | 546ac1ffb70d25b56c1126940e5ec639c4dd7413 [diff] |
bpf: add bpf_redirect_map helper routine BPF programs can use the devmap with a bpf_redirect_map() helper routine to forward packets to netdevice in map. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>