summaryrefslogtreecommitdiffstats
path: root/kernel/exec_domain.c
diff options
context:
space:
mode:
authorDavid Ahern2019-04-06 01:30:39 +0200
committerDavid S. Miller2019-04-09 00:22:41 +0200
commit19a9d136f198cd7c4e26ea6897a0cf067d3f7ecb (patch)
treefccf774827443fcd43348b642d7ebf40a95886d3 /kernel/exec_domain.c
parentipv4: Handle ipv6 gateway in fib_good_nh (diff)
downloadkernel-qcow2-linux-19a9d136f198cd7c4e26ea6897a0cf067d3f7ecb.tar.gz
kernel-qcow2-linux-19a9d136f198cd7c4e26ea6897a0cf067d3f7ecb.tar.xz
kernel-qcow2-linux-19a9d136f198cd7c4e26ea6897a0cf067d3f7ecb.zip
ipv4: Flag fib_info with a fib_nh using IPv6 gateway
Until support is added to the offload drivers, they need to be able to reject routes with an IPv6 gateway. To that end add a flag to fib_info that indicates if any fib_nh has a v6 gateway. The flag allows the drivers to efficiently know the use of a v6 gateway without walking all fib_nh tied to a fib_info each time a route is added. Update mlxsw and rocker to reject the routes with extack message as to why. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/exec_domain.c')
0 files changed, 0 insertions, 0 deletions