Remove bogus RTFREE that was added in rev 1.47. The rmx code operates

directly on the radix tree and does not hold any routing table refernces.
This fixes the reference counting problems that manifested itself as a
panic during unmount of filesystems that were mounted by NFS over an
interface that had been removed.

Supported by:	FreeBSD Foundation
This commit is contained in:
Sam Leffler 2003-11-03 06:11:44 +00:00
parent c219b2ef38
commit 04df2fbbb8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121929

View file

@ -388,9 +388,8 @@ in_ifadownkill(struct radix_node *rn, void *xap)
*/
rt->rt_flags &= ~(RTF_CLONING | RTF_PRCLONING);
rtexpunge(rt);
RTFREE_LOCKED(rt);
} else
RT_UNLOCK(rt);
}
RT_UNLOCK(rt);
return 0;
}