Fix panic on IPv4 address removal introduced in r265279.

Reported by:	Trond Endrestøl
MFC with:	r265279
This commit is contained in:
melifaro 2014-05-03 20:22:13 +00:00
parent 1d364a3637
commit 876586a2b1

View File

@ -441,6 +441,7 @@ in_ifadown(struct ifaddr *ifa, int delete)
for ( fibnum = 0; fibnum < rt_numfibs; fibnum++) {
rnh = rt_tables_get_rnh(fibnum, AF_INET);
arg.rnh = rnh;
arg.ifa = ifa;
arg.del = delete;
RADIX_NODE_HEAD_LOCK(rnh);