]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "neighbour: force neigh_invalidate when NUD_FAILED update is from admin"
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 21 Oct 2018 01:09:31 +0000 (18:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Oct 2018 05:25:01 +0000 (22:25 -0700)
commitf2345a8fb62b9f93dbb168d65116cc51d854f70b
tree00bf7fa3f42b152b022f0e997c3f6179d4429ada
parenta562d75f937432a5395345a41820ea8ea6d8f62a
Revert "neighbour: force neigh_invalidate when NUD_FAILED update is from admin"

This reverts commit ff6dd797d4718631f1fa9c9e0cbe3d200b056b6d.

This patch results in unnecessary netlink notification when one
tries to delete a neigh entry already in NUD_FAILED state. Found
this with a buggy app that tries to delete a NUD_FAILED entry
repeatedly. While the notification issue can be fixed with more
checks, adding more complexity here seems unnecessary. Also,
recent tests with other changes in the neighbour code have
shown that the INCOMPLETE and PROBE checks are good enough for
the original issue.

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