summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDavid Ahern2018-04-18 02:33:23 +0200
committerDavid S. Miller2018-04-18 05:41:17 +0200
commit23fb93a4d3f118a900790066d03368a296dce0d6 (patch)
tree164c2de29277816e13ac84a12580dae710557d9c /drivers/net
parentnet/ipv6: Add gfp_flags to route add functions (diff)
downloadkernel-qcow2-linux-23fb93a4d3f118a900790066d03368a296dce0d6.tar.gz
kernel-qcow2-linux-23fb93a4d3f118a900790066d03368a296dce0d6.tar.xz
kernel-qcow2-linux-23fb93a4d3f118a900790066d03368a296dce0d6.zip
net/ipv6: Cleanup exception and cache route handling
IPv6 FIB will only contain FIB entries with exception routes added to the FIB entry. Once this transformation is complete, FIB lookups will return a fib6_info with the lookup functions still returning a dst based rt6_info. The current code uses rt6_info for both paths and overloads the rt6_info variable usually called 'rt'. This patch introduces a new 'f6i' variable name for the result of the FIB lookup and keeps 'rt' as the dst based return variable. 'f6i' becomes a fib6_info in a later patch which is why it is introduced as f6i now; avoids the additional churn in the later patch. In addition, remove RTF_CACHE and dst checks from fib6 add and delete since they can not happen now and will never happen after the data type flip. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions