avoided the use of purged address structure when an address became

invalid in nd6_timer().

PR:		kern/93170
Reported by:	kris
Submitted by:	JINMEI Tatuya <jinmei__at__isl.rdc.toshiba.co.jp>
Confirmed by:	kris
Obtained from:	KAME
MFC after:	2 days
This commit is contained in:
Hajimu UMEMOTO 2006-02-12 15:37:08 +00:00
parent 13f322c2fc
commit 430683286b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155575

View File

@ -578,8 +578,7 @@ nd6_timer(ignored_arg)
if (regen)
goto addrloop; /* XXX: see below */
}
if (IFA6_IS_DEPRECATED(ia6)) {
} else if (IFA6_IS_DEPRECATED(ia6)) {
int oldflags = ia6->ia6_flags;
ia6->ia6_flags |= IN6_IFF_DEPRECATED;