Fix condition for nd6_llinfo_getholdsrc() introduced in r287484.
authormelifaro <melifaro@FreeBSD.org>
Sun, 4 Oct 2015 07:02:17 +0000 (07:02 +0000)
committermelifaro <melifaro@FreeBSD.org>
Sun, 4 Oct 2015 07:02:17 +0000 (07:02 +0000)
commit15bc65f144a8e7501d5b41594aa7436b28858d6f
tree2ad896b64a9200419a59c7a00e79ef81c6e433ff
parentb30c9f839ead5c7ffeaf62cabca97b6d2ba948c8
Fix condition for nd6_llinfo_getholdsrc() introduced in r287484.
  Effectively it always returned NULL so SAS was always performed and
  sometimes the result might have been different.

Fix state machine change accidentally introduced in r287985:
  state (4) inside nd6_cache_lladdr() (existing entry got nd message
  with the same lladdress) started to cause lle state transition to STALE
  instead of no-action.
sys/netinet6/nd6.c