]> git.proxmox.com Git - mirror_iproute2.git/commit
ip neigh: allow flush FAILED neighbour entry
authorHangbin Liu <liuhangbin@gmail.com>
Fri, 16 Jun 2017 03:31:52 +0000 (11:31 +0800)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 16 Jun 2017 16:01:02 +0000 (09:01 -0700)
commitad0a6a2c63fe78a133957b3e3ea2c39deb525444
treec1051b4381ffddde2891e0d0c903cb4435efc7bb
parent3dc98cf2f51ffa2ebcc6c592aa95eae78d04d0c7
ip neigh: allow flush FAILED neighbour entry

After upstream commit 5071034e4af7 ('neigh: Really delete an arp/neigh entry
on "ip neigh delete" or "arp -d"'), we could delete a single FAILED neighbour
entry now. But `ip neigh flush` still skip the FAILED entry.

Move the filter after first round flush so we can flush FAILED entry on fixed
kernel and also do not keep retrying on old kernel.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
ip/ipneigh.c