]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: Pass skb to route lookup
authorDavid Ahern <dsahern@gmail.com>
Fri, 2 Mar 2018 16:32:17 +0000 (08:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 18:04:22 +0000 (13:04 -0500)
commit9168f7d424819abf26b3b9be7340dd6f1ccec965
treec60c0be94f8d29690af3a997d6672724192f2634
parent024c81dcc9feac72250380703e61ef7ced59cb08
net/ipv6: Pass skb to route lookup

IPv6 does path selection for multipath routes deep in the lookup
functions. The next patch adds L4 hash option and needs the skb
for the forward path. To get the skb to the relevant FIB lookup
functions it needs to go through the fib rules layer, so add a
lookup_data argument to the fib_lookup_arg struct.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 files changed:
drivers/infiniband/core/cma.c
drivers/net/ipvlan/ipvlan_core.c
drivers/net/vrf.c
include/net/fib_rules.h
include/net/ip6_fib.h
include/net/ip6_route.h
net/ipv6/anycast.c
net/ipv6/fib6_rules.c
net/ipv6/icmp.c
net/ipv6/ip6_fib.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_vti.c
net/ipv6/mcast.c
net/ipv6/netfilter/ip6t_rpfilter.c
net/ipv6/netfilter/nft_fib_ipv6.c
net/ipv6/route.c
net/ipv6/seg6_local.c