]> git.baikalelectronics.ru Git - kernel.git/commit
neighbor: Move neigh_update_ext_learned to core file
authorDavid Ahern <dsahern@gmail.com>
Wed, 12 Dec 2018 01:57:24 +0000 (18:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Dec 2018 23:44:47 +0000 (15:44 -0800)
commitbbced5b8d37703eba63de54825fd06bcf1df0a76
treef28c66801db109cd5e67119540b434a52f5c23b7
parent20f9908c23a63aacff4be43c86dfbaa2269ea8c9
neighbor: Move neigh_update_ext_learned to core file

neigh_update_ext_learned has one caller in neighbour.c so does not need
to be defined in the header. Move it and in the process remove the
intialization of ndm_flags and just set it based on the flags check.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/neighbour.h
net/core/neighbour.c