Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2010 10:48:54 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern uipc_usrreq.c
Message-ID:  <201012101049.oBAAn5lN060589@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2010-12-10 10:48:54 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/kern             uipc_usrreq.c 
  Log:
  SVN rev 216353 on 2010-12-10 10:48:54Z by kib
  
  MFC r216150, r216158:
  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
  socket.
  
  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.
  
  Approved by:    re (bz)
  
  Revision   Changes    Path
  1.233.2.2  +75 -6     src/sys/kern/uipc_usrreq.c



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