Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2007 10:34:45 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 123007 for review
Message-ID:  <200707061034.l66AYjg9077794@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123007

Change 123007 by zec@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;



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