PERFORCE change 123007 for review

Marko Zec zec at FreeBSD.org
Fri Jul 6 10:34:45 UTC 2007


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

Change 123007 by zec at zec_tca51 on 2007/07/06 10:34:24

	Unbreak tcp_timewait.c (probably something went wrong
	witht the last IFC).

Affected files ...

.. //depot/projects/vimage/src/sys/netinet/tcp_timewait.c#6 edit

Differences ...

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

@@ -191,6 +191,7 @@
 void
 tcp_twstart(struct tcpcb *tp)
 {
+	INIT_VNET_INET(tp->t_vnet);
 	struct tcptw *tw;
 	struct inpcb *inp = tp->t_inpcb;
 	int acknow;
@@ -329,6 +330,7 @@
 tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th,
     struct mbuf *m, int tlen)
 {
+	INIT_VNET_INET(curvnet);
 	struct tcptw *tw;
 	int thflags;
 	tcp_seq seq;


More information about the p4-projects mailing list