Fix panic on IPv4 address removal introduced in r265279.

Reported by:	Trond Endrestøl
MFC with:	r265279
This commit is contained in:
Alexander V. Chernikov 2014-05-03 20:22:13 +00:00
parent c23a7a1e16
commit a32603a55a

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);