OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 10:24:13 +0000 (12:24 +0200)
commit647f72b0d75c9faeec36b88fc051339e73008435
tree0197ec6ae85b5550a74a8a1ff11a2f6109344b8e
parentc9696a8f3e6444c158173c7b3507e6742c137155
ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled

commit 9b3040a6aafd7898ece7fc7efcbca71e42aa8069 upstream.

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>
Cc: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/arp.h