diff options
author | 2019-04-05 16:30:31 -0700 | |
---|---|---|
committer | 2019-04-08 15:22:41 -0700 | |
commit | 448d7248191706cbbd7761e3bc72c2985c4d38a7 (patch) | |
tree | 30cf5625d5b433cce8f8b1bca1369249a2c9954b /tools/perf/scripts/python | |
parent | ipv4: Add support to fib_config for IPv6 gateway (diff) | |
download | wireguard-linux-448d7248191706cbbd7761e3bc72c2985c4d38a7.tar.xz wireguard-linux-448d7248191706cbbd7761e3bc72c2985c4d38a7.zip |
ipv4: Refactor fib_check_nh
fib_check_nh is currently huge covering multiple uses cases - device only,
device + gateway, and device + gateway with ONLINK. The next patch adds
validation checks for IPv6 which only further complicates it. So, break
fib_check_nh into 2 helpers - one for gateway validation and one for device
only.
Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions