ipv4: move fib4_has_custom_rules() helper to public header
authorPaolo Abeni <pabeni@redhat.com>
Wed, 20 Nov 2019 12:47:36 +0000 (13:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Nov 2019 22:45:55 +0000 (14:45 -0800)
commitc43c3d76c021d8d654ff5cfaad381f14f6beaf1a
tree168162cd9d5f129d1c1bc922bdae8406cfaab0ef
parent197dbf24e360ed8dbbbe8ed17c2c496f501a0bda
ipv4: move fib4_has_custom_rules() helper to public header

So that we can use it in the next patch.
Additionally constify the helper argument.

Suggested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_frontend.c