From owner-freebsd-current Thu Feb 6 18: 8:11 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7309837B401; Thu, 6 Feb 2003 18:08:09 -0800 (PST) Received: from cheer.mahoroba.org (flets20-242.kamome.or.jp [218.45.20.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id A13D443FB1; Thu, 6 Feb 2003 18:08:02 -0800 (PST) (envelope-from ume@mahoroba.org) Received: from lyrics.mahoroba.org (IDENT:Pv3vTwgPDmNa+Kk/plCGdA8ZvcK5Q48K@L025161.ppp.dion.ne.jp [211.126.25.161]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.7/8.12.7) with ESMTP/inet id h1727kCQ063215 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 7 Feb 2003 11:07:51 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 07 Feb 2003 11:04:15 +0900 Message-ID: From: Hajimu UMEMOTO To: David Malone Cc: Kris Kennaway , Fred Souza , current@freebsd.org, ume@freebsd.org, clive@tongi.org Subject: Re: Linux networking emulation broken? In-Reply-To: <20030206222826.GA15446@walton.maths.tcd.ie> References: <20030206162353.GA935@torment.storming.org> <20030206190021.GB17316@rot13.obsecurity.org> <20030206222826.GA15446@walton.maths.tcd.ie> User-Agent: xcite1.38> Wanderlust/2.11.0 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.0-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-1.8 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT version=2.44 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, >>>>> On Thu, 6 Feb 2003 22:28:26 +0000 >>>>> David Malone said: dwmalone> On Thu, Feb 06, 2003 at 11:00:21AM -0800, Kris Kennaway wrote: > I'm also seeing this with Linux Phoenix, though I haven't tcpdumped > the output. dwmalone> I'm guessing the short patch at: dwmalone> http://www.maths.tcd.ie/~dwmalone/linux_sendmsg.patch dwmalone> should help. Can you try it and let me know? Oops, thanks! Though I cannot test it for now, it seems correct to me. However, I think that where bsd_args.msg = (caddr_t)((nmsg == NULL) ? linux_args.msg : nmsg); it is sufficient to just substitute nmsg for bsd_args.msg: bsd_args.msg = (caddr_t) nmsg; Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message