From owner-freebsd-stable@FreeBSD.ORG Mon Nov 11 00:09:08 2013 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 559AE333 for ; Mon, 11 Nov 2013 00:09:08 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D25D92B7B for ; Mon, 11 Nov 2013 00:09:07 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id w7so2875548lbi.4 for ; Sun, 10 Nov 2013 16:09:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=EtIQPdZJaVIgMamwnpRBM5o15IH/KEoDLOcUexXE06U=; b=Sz/nD0uSP8ZWqqvtFH7gZSWXa4N8yHc5o6gkwdMAjh9Gyj5b2WvIaJo+omuIUt6nKA PMiw4o2Ywz+XhbHZwwi8VTByKMRyd+uHYc7Hxdlmg1V+RXi6QEi7ZBEUiD1Oi1DSMfhE yBo27c038SSY2abRiNW+fKt1v/kZCR+4XdNDhvZGefWo1GR2mcGCqFOHCqFYHfLe9OSa MgmYiGAN68hAprfz0Z0XKO3YeGM2k1GzyGsCWLoYtzPSRm8q8Lg0Yl2vLP6YY/1ql6XI I/yDDqWIP02ahvwExQp/OfYSZYyTqSRFdAzol4VeN+1MXX1IEBWC1vJcnMBMi+IURd5c s1eQ== X-Gm-Message-State: ALoCoQkar2U9UGeGkSP6CUHtrb3vlTyypBkAKAwutf3JuxcV2Cj1XXWGoOSzYcoiCWlPO0zCoiqp MIME-Version: 1.0 X-Received: by 10.152.28.194 with SMTP id d2mr20456023lah.2.1384128539811; Sun, 10 Nov 2013 16:08:59 -0800 (PST) Sender: sobomax@sippysoft.com Received: by 10.114.230.66 with HTTP; Sun, 10 Nov 2013 16:08:59 -0800 (PST) Received: by 10.114.230.66 with HTTP; Sun, 10 Nov 2013 16:08:59 -0800 (PST) In-Reply-To: <20131108074202.GO7577@glebius.int.ru> References: <20131108074202.GO7577@glebius.int.ru> Date: Sun, 10 Nov 2013 16:08:59 -0800 X-Google-Sender-Auth: Vtak5mq2mGfIVwD5EFAbwSFNEzc Message-ID: Subject: Re: svn commit: r232945 - in stable/9: share/man/man4 sys/i386/conf sys/netinet sys/sys From: Maxim Sobolev To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Maxim Sobolev , stable@freebsd.org, andre@freebsd.org, bz@freebsd.org, lstewart@freebsd.org, pgsql@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2013 00:09:08 -0000 Thanks, Gleb, we'll give it a go! -Maxim On Nov 7, 2013 11:42 PM, "Gleb Smirnoff" wrote: > On Thu, Nov 07, 2013 at 03:10:27PM -0800, Maxim Sobolev wrote: > M> Hey guys, any particular reasons why those options are write-only? Is it > M> just laziness of the developer or is there any particular fundamental > M> reason for it being like this. This might be some regression, since at > M> least some 3rd party software that does getsockopt(), checks its status > and > M> only does setsockopt() if the former completed successfully. Which kinda > M> makes sense IMHO. The software in question is PostgreSQL here. As a > result, > M> the software may be misbehaving since it detects those options as being > M> present on the configure stage, but cannot really make any use of them > M> later on during runtime. Had it not detect those options at the build > M> stage, it might have used some kind of software protocol workaround > (i.e. > M> sending ping/nop packets) so it in fact might trigger some bugs and > whatnot. > M> > M> We believe it might be the reason for some of our problems here with PG > 91 > M> and FreeBSD 92. > > Can you please try attached patch and report? > > > -- > Totus tuus, Glebius. >