ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled
authorDavid Ahern <dsahern@gmail.com>
Sun, 5 May 2019 18:16:20 +0000 (11:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2019 18:25:49 +0000 (11:25 -0700)
commit9b3040a6aafd7898ece7fc7efcbca71e42aa8069
treebe2d2ece57597f86650e7b74708eb9633419f07c
parent47d3d7fdb10a21c223036b58bd70ffdc24a472c4
ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled

Define __ipv4_neigh_lookup_noref to return NULL when CONFIG_INET is disabled.

Fixes: 4b2a2bfeb3f0 ("neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/arp.h