PERFORCE change 145425 for review

Marko Zec zec at FreeBSD.org
Fri Jul 18 13:41:49 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=145425

Change 145425 by zec at zec_tpx32 on 2008/07/18 13:41:17

	Unbreak options VIMAGE build after the last IFC.

Affected files ...

.. //depot/projects/vimage/src/sys/kern/kern_mib.c#11 edit
.. //depot/projects/vimage/src/sys/netinet/raw_ip.c#22 edit

Differences ...

==== //depot/projects/vimage/src/sys/kern/kern_mib.c#11 (text+ko) ====

@@ -356,6 +356,7 @@
 static int
 sysctl_domainname(SYSCTL_HANDLER_ARGS)
 {
+	INIT_VPROCG(TD_TO_VPROCG(curthread));
 	char tmpdomainname[MAXHOSTNAMELEN];
 	int error;
 

==== //depot/projects/vimage/src/sys/netinet/raw_ip.c#22 (text+ko) ====

@@ -249,7 +249,7 @@
 	ripsrc.sin_family = AF_INET;
 	ripsrc.sin_addr = ip->ip_src;
 	last = NULL;
-	INP_INFO_RLOCK(&ripcbinfo);
+	INP_INFO_RLOCK(&V_ripcbinfo);
 	LIST_FOREACH(inp, &V_ripcb, inp_list) {
 		INP_RLOCK(inp);
 		if (inp->inp_ip_p && inp->inp_ip_p != proto) {


More information about the p4-projects mailing list