]> 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)
commit887db47a41e5d246ad5fc8cd4643f240966cdf43
treef28c66801db109cd5e67119540b434a52f5c23b7
parent4c22337b4336232fc193fe969d0ba88e1c55dce9
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