commit | 89740ca74f5bb45d3e0dcb4aa9eab0ba9864bff5 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@resnulli.us> | Thu Jan 09 14:13:47 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 16 11:31:58 2014 -0800 |
tree | 378e227ef6c2bd2776afc4d6c29d89574fdee9c6 | |
parent | d6e26404732ac5d82ee34e197c35241d581d1c4c [diff] |
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>