kern/159663: [socket] [nullfs] sockets don't work though nullfs mounts

Mikolaj Golub to.my.trociny at gmail.com
Mon Nov 28 20:50:13 UTC 2011


The following reply was made to PR kern/159663; it has been noted by GNATS.

From: Mikolaj Golub <to.my.trociny at gmail.com>
To: Robert Millan <rmh at freebsd.org>
Cc: bug-followup at 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


More information about the freebsd-bugs mailing list