Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 10:38:21 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8799 for review
Message-ID:  <200204011838.g31IcLI10843@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8799

Change 8799 by jhb@jhb_laptop on 2002/04/01 10:37:50

	The rest of the IPv6 code has been polluted to use td so use that
	rather than p.

Affected files ...

... //depot/projects/smpng/sys/netinet6/ip6_input.c#10 edit

Differences ...

==== //depot/projects/smpng/sys/netinet6/ip6_input.c#10 (text+ko) ====

@@ -1135,15 +1135,15 @@
 	struct mbuf *m;
 {
 #if __FreeBSD__ >= 5
-	struct thread *p = curthread;	/* XXX */
+	struct thread *td = curthread;	/* XXX */
 #else
-	struct proc *p = curproc;	/* XXX */
+	struct proc *td = curproc;	/* XXX */
 #endif
 	int privileged = 0;
 	int rthdr_exist = 0;
 
 
-	if (p && !suser(p))
+	if (td && !suser(td))
  		privileged++;
 
 #ifdef SO_TIMESTAMP

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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