]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipaddress.c
Avoid infinite loop in ip addr flush.
authorDaniel Silverstone <daniel.silverstone@ubuntu.com>
Fri, 19 Oct 2007 11:32:24 +0000 (13:32 +0200)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Wed, 23 Apr 2008 17:56:05 +0000 (10:56 -0700)
commit7b3d366e0677c53767fca6b59677ee356b65b6da
treee78340df76bf2ce9fb190baa67928f82ade64e7a
parent3a9e4821b6f1c3bb87c52fe4ef11707e5dc0b75a
Avoid infinite loop in ip addr flush.

Fix "ip addr flush" the same way "ip neigh flush" was previously fixed,
by bailing out if the flush hasn't completed after MAX_ROUNDS (10) tries.
ip/ipaddress.c