]> git.baikalelectronics.ru Git - kernel.git/commit
neigh: use NEIGH_VAR_INIT in ndo_neigh_setup functions.
authorJiri Pirko <jiri@resnulli.us>
Thu, 9 Jan 2014 13:13:47 +0000 (14:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2014 19:31:58 +0000 (11:31 -0800)
commit32ee924d676f44fc11fc3e115459052f4f5b7aef
tree378e227ef6c2bd2776afc4d6c29d89574fdee9c6
parente8ab7c8133df5f37a2b7cc9bc828ac0a1bb9a4fc
neigh: use NEIGH_VAR_INIT in ndo_neigh_setup functions.

When ndo_neigh_setup is called, the bitfield used by NEIGH_VAR_SET is
not initialized yet. This might cause confusion for the people who use
NEIGH_VAR_SET in ndo_neigh_setup. So rather introduce NEIGH_VAR_INIT for
usage in ndo_neigh_setup.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/neighbour.h
net/802/hippi.c