From owner-cvs-all Sat Jan 8 4:47:44 2000 Delivered-To: cvs-all@freebsd.org Received: from fgwmail7.fujitsu.co.jp (fgwmail7.fujitsu.co.jp [192.51.44.37]) by hub.freebsd.org (Postfix) with ESMTP id 4023A1500A; Sat, 8 Jan 2000 04:47:37 -0800 (PST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from m5.gw.fujitsu.co.jp by fgwmail7.fujitsu.co.jp (8.9.3/3.7W-MX9912-Fujitsu Gateway) id VAA24788; Sat, 8 Jan 2000 21:47:35 +0900 (JST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from incapgw.fujitsu.co.jp by m5.gw.fujitsu.co.jp (8.9.3/3.7W-9912-Fujitsu Domain Master) id VAA08723; Sat, 8 Jan 2000 21:47:34 +0900 (JST) Received: from localhost ([192.168.245.114]) by incapgw.fujitsu.co.jp (8.9.3/3.7W-9912) id VAA21733; Sat, 8 Jan 2000 21:47:32 +0900 (JST) 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 In-Reply-To: <200001081124.DAA75823@freefall.freebsd.org> References: <200001081124.DAA75823@freefall.freebsd.org> <200001081128.DAA76008@freefall.freebsd.org> X-Mailer: Mew version 1.94 on Emacs 20.4 / Mule 4.0 (HANANOEN) X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000108214808C.shin@nd.net.fujitsu.co.jp> Date: Sat, 08 Jan 2000 21:48:08 +0900 From: Yoshinobu Inoue X-Dispatcher: imput version 990905(IM130) Lines: 30 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > 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