From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 28 20:50:13 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61E72106566C for ; Mon, 28 Nov 2011 20:50:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 512898FC0A for ; Mon, 28 Nov 2011 20:50:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pASKoDpw061238 for ; Mon, 28 Nov 2011 20:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pASKoDhP061237; Mon, 28 Nov 2011 20:50:13 GMT (envelope-from gnats) Date: Mon, 28 Nov 2011 20:50:13 GMT Message-Id: <201111282050.pASKoDhP061237@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Mikolaj Golub Cc: Subject: Re: kern/159663: [socket] [nullfs] sockets don't work though nullfs mounts X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mikolaj Golub List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 20:50:13 -0000 The following reply was made to PR kern/159663; it has been noted by GNATS. From: Mikolaj Golub To: Robert Millan Cc: bug-followup@FreeBSD.org Subject: Re: kern/159663: [socket] [nullfs] sockets don't work though nullfs mounts Date: Mon, 28 Nov 2011 22:49:02 +0200 On Sun, 27 Nov 2011 18:44:30 +0100 Robert Millan wrote: RM> Hi Mikolaj, Hi >> But actually it is possible to do without the additional flag, with the only >> hack in nullfs code: in lookup and create return lower vnode if it is a >> socket, like in the patch below. It works for me but I have not tested much >> and not checked yet if use cases are possible when this makes undesirable >> effect. RM> I've been using your patch (with 8.1 kernel on amd64) for two months RM> now, and didn't notice any ill effects. RM> Do you have plans on committing it? Thanks for testing! I wouldn't like to commit it without trying to find a better solution. After I got some suggestions from kib@ I hope will be able to come with something better than this patch. -- Mikolaj Golub