Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2008 08:23:48 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185845 - head/sys/netinet
Message-ID:  <200812100823.mBA8NmKh023168@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Wed Dec 10 08:23:47 2008
New Revision: 185845
URL: http://svn.freebsd.org/changeset/base/185845

Log:
  unlock when done

Modified:
  head/sys/netinet/ip_fw_nat.c

Modified: head/sys/netinet/ip_fw_nat.c
==============================================================================
--- head/sys/netinet/ip_fw_nat.c	Wed Dec 10 08:22:51 2008	(r185844)
+++ head/sys/netinet/ip_fw_nat.c	Wed Dec 10 08:23:47 2008	(r185845)
@@ -101,7 +101,7 @@ ifaddr_change(void *arg __unused, struct
 				    (ifa->ifa_addr))->sin_addr;
 				LibAliasSetAddress(ptr->lib, ptr->ip);
 			}
-			IF_ADDR_LOCK(ifp);
+			IF_ADDR_UNLOCK(ifp);
 		}
 	}
 	IPFW_WUNLOCK(&V_layer3_chain);	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812100823.mBA8NmKh023168>