svn commit: r216150 - head/sys/kern
kostikbel at gmail.com
Fri Dec 3 17:17:28 UTC 2010
On Fri, Dec 03, 2010 at 04:15:44PM +0000, Konstantin Belousov wrote:
> Author: kib
> Date: Fri Dec 3 16:15:44 2010
> New Revision: 216150
> URL: http://svn.freebsd.org/changeset/base/216150
> Reviewed by: jeff, rwatson
> MFC after: 1 week
Oops, I failed to use proper -F file with svn ci :(.
The commit log is (or, was supposed to be):
If unix socket has a unix socket attached as the rights that has a
unix socket attached as the rights that has a unix socket attached as
the rights ... Kernel may overflow the stack on attempt to close such
Only close the rights file in the context of the current close if the
file is not unix domain socket. Otherwise, postpone the work to
taskqueue, preventing unlimited recursion.
The pass of the unix domain sockets over the SCM_RIGHTS message
control is not widely used, and more, the close of the socket with
still attached rights is mostly an application failure. The change
should not affect the performance of typical users of SCM_RIGHTS.
Reviewed by: jeff, rwatson
MFC after: 1 week
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20101203/d48dcabd/attachment.pgp
More information about the svn-src-all