diff options
author | David Ahern <dsahern@gmail.com> | 2018-10-15 18:56:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-16 00:14:08 -0700 |
commit | e4e92fb160d7bef689c6ad00108b4e52599ca05e (patch) | |
tree | eca4db1ca406c8c5d36daebbd92576ababdc4869 /tools/lib/bpf/bpf.h | |
parent | 08e814c9e8eb5a982cbd1e8f6bd255d97c51026f (diff) |
net/ipv4: Bail early if user only wants prefix entries
Unlike IPv6, IPv4 does not have routes marked with RTF_PREFIX_RT. If the
flag is set in the dump request, just return.
In the process of this change, move the CLONE check to use the new
filter flags.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/lib/bpf/bpf.h')
0 files changed, 0 insertions, 0 deletions