]> git.baikalelectronics.ru Git - kernel.git/commit
neighbour: force neigh_invalidate when NUD_FAILED update is from admin
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 26 Jun 2018 03:32:53 +0000 (20:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2018 06:40:45 +0000 (15:40 +0900)
commitff6dd797d4718631f1fa9c9e0cbe3d200b056b6d
tree18a987091b3586ccf066a1e16840acf8476ed595
parent5ce8c7e45a23cf5506a39db69f2cec023141c84e
neighbour: force neigh_invalidate when NUD_FAILED update is from admin

In systems where neigh gc thresh holds are set to high values,
admin deleted neigh entries (eg ip neigh flush or ip neigh del) can
linger around in NUD_FAILED state for a long time until periodic gc kicks
in. This patch forces neigh_invalidate when NUD_FAILED neigh_update is
from an admin.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c