commit | b820bb6b996966d93a5442b5fbf803ea58e7f487 | [log] [tgz] |
---|---|---|
author | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> | Mon Jan 21 09:58:50 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 21 15:41:41 2013 -0500 |
tree | 0abfaaf1cc30ca925fef15d755296ef1f3b24651 | |
parent | 100204147be9a2b87be2b118959b12eeaf8ef5d0 [diff] |
ndisc: Do not try to update "updated" time if neighbour has already gone. Commit 2152caea ("ipv6: Do not depend on rt->n in rt6_probe().") introduce a bug to try to update "updated" time in neighbour structure. Update the "updated" time only if neighbour is available. Bug was found by Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>