Date: Sat, 08 Jan 2000 21:48:08 +0900 From: Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp> To: luigi@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_dummynet.c ip_dummynet.h Message-ID: <20000108214808C.shin@nd.net.fujitsu.co.jp> In-Reply-To: <200001081124.DAA75823@freefall.freebsd.org> References: <200001081124.DAA75823@freefall.freebsd.org> <200001081128.DAA76008@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Modified files:
> sys/netinet ip_dummynet.c ip_dummynet.h
Please pass pkt->flags value as ip_output() flags argument,
if it is not problem.
Without it, IPsec over dummynet won't work.
--- ip_dummynet.c.orig Sat Jan 8 21:21:29 2000
+++ ip_dummynet.c Sat Jan 8 21:38:52 2000
@@ -305,7 +305,7 @@
*/
switch (pkt->dn_dir) {
case DN_TO_IP_OUT:
- (void)ip_output((struct mbuf *)pkt, NULL, NULL, 0, NULL);
+ (void)ip_output((struct mbuf *)pkt, NULL, NULL, pkt->flags, NULL);
rt_unref (pkt->ro.ro_rt) ;
break ;
By the way,
> as well. Also (probably) fix a bug introduced during the IPv6 import.
did I break anything related to dummynet?
I thought I only changed ip_output() arguments related part,
and also confirmed it to work, but if there was any problem,
I'm much sorry for it.
Yoshinobu Inoue
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000108214808C.shin>
