Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2005 10:43:31 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-hackers@FreeBSD.org
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: Patch for linux ABI for MSG_NOSIGNAL and out of order tcp packet issue
Message-ID:  <200501181043.31108.jhb@FreeBSD.org>
In-Reply-To: <00be01c4fd71$046adae0$b3db87d4@multiplay.co.uk>
References:  <00be01c4fd71$046adae0$b3db87d4@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 18 January 2005 10:18 am, Steven Hartland wrote:
> After digging around and getting some information from Alfred
> at Valve ( the makers of HalfLife ) I've found the reason for
> HalfLife 2 server ( CounterStrike Source ) crashing when
> using rcon under FreeBSD.
> The problem is that although their code was setting
> MSG_NOSIGNAL on the send() call this was being
> ignored by the linux ABI. The attached patch checks for
> MSG_NOSIGNAL and if set enables SO_NOSIGPIPE
> for the duration of send call. Im not 100% sure this is the
> way to do it but have confirmed that the patch works on
> 5.2.1 so if someone could check and commit it that would
> be great.
>
> I'm also investigating an issue where tcp packets from a
> linux app end up being sent out of order. I don't really
> know where to start on this one. send() from the linux
> domain seems to be a clean pass off to the native send
> so unless the native send also has issues I'm at a loss.
>
> I'm still waiting on confirmation of the calls being used
> by Valve which is causing this behaviour and will post
> more when I know it. Has anyone else seen this behaviour
> else where?
>
>     Regards
>     Steve

Can you please file a PR and include the patch in your PR?

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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