OSDN Git Service

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)
commit526f1b587cf826d78c3e522428ce6b24a8da0d65
treef28c66801db109cd5e67119540b434a52f5c23b7
parent7e6f182bec7debb420a2c12ae0ea1813645a7ac4
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