From 65954fda79fedded9e17e214d080f766303f01b4 Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Wed, 10 Dec 2008 08:23:47 +0000 Subject: [PATCH] unlock when done --- sys/netinet/ip_fw_nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/ip_fw_nat.c b/sys/netinet/ip_fw_nat.c index 8bb114bc9fa5..6b8369cd8223 100644 --- a/sys/netinet/ip_fw_nat.c +++ b/sys/netinet/ip_fw_nat.c @@ -101,7 +101,7 @@ ifaddr_change(void *arg __unused, struct ifnet *ifp) (ifa->ifa_addr))->sin_addr; LibAliasSetAddress(ptr->lib, ptr->ip); } - IF_ADDR_LOCK(ifp); + IF_ADDR_UNLOCK(ifp); } } IPFW_WUNLOCK(&V_layer3_chain);