fib: make netdev_switch_fib_ipv4_abort in header file static inline
authorWillem de Bruijn <willemb@google.com>
Fri, 6 Mar 2015 16:44:28 +0000 (11:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 20:44:35 +0000 (15:44 -0500)
commit89650ad0047f039b3c3bc0f6a5823bb9c9738152
tree3ae8ef80ec2102f70b87b1abf6e3737a5201f895
parentf8d54afc4c7a4c41deaa43fbcfffc2976094d342
fib: make netdev_switch_fib_ipv4_abort in header file static inline

When building without CONFIG_NET_SWITCHDEV,
netdev_switch_fib_ipv4_abort is defined in the header file. It must
be static inline to avoid build failure at link time.

Fixes: 8e05fd7166c6 ("fib: hook IPv4 fib for hardware offload")

Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h