]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: implement XDP_REDIRECT for xdp generic
authorJohn Fastabend <john.fastabend@gmail.com>
Mon, 17 Jul 2017 16:27:50 +0000 (09:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 16:48:06 +0000 (09:48 -0700)
commit6103aa96ec077c976e851e0b89cc2446cb76573d
treea54dbc7a88b1737d6f02840ee97eecefef49070b
parent832622e6bd1884c95475094941914969ff82b329
net: implement XDP_REDIRECT for xdp generic

Add support for redirect to xdp generic creating a fall back for
devices that do not yet have support and allowing test infrastructure
using veth pairs to be built.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Tested-by: Andy Gospodarek <andy@greyhouse.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/filter.h
net/core/dev.c
net/core/filter.c