]> git.baikalelectronics.ru Git - kernel.git/commit
ndisc: Do not try to update "updated" time if neighbour has already gone.
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Mon, 21 Jan 2013 09:58:50 +0000 (09:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jan 2013 20:41:41 +0000 (15:41 -0500)
commit2fc5a476c5a1655287d85dd37d273b8785813261
tree0abfaaf1cc30ca925fef15d755296ef1f3b24651
parent2e885d0a9957dc9b836353cb2f8789a33396032b
ndisc: Do not try to update "updated" time if neighbour has already gone.

Commit 073c3f5e ("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>
net/ipv6/route.c