[Bug 195944] [PATCH] ggated: Properly report permission problems to the client

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 14 09:25:43 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195944

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: brueffer
Date: Tue Jul 14 09:25:11 UTC 2015
New revision: 285529
URL: https://svnweb.freebsd.org/changeset/base/285529

Log:
  If ggated's exports_find() fails, the connection is removed before
  (trying to) report the problem to the client.

  sendfail() is called with an already closed socket and thus it
  fails to inform the client about the problem.

  Fix this by calling sendfail() before connection_remove().

  PR:        195944
  Submitted by:    Fabian Keil
  Reviewed by:    pjd
  MFC after:    1 week

Changes:
  head/sbin/ggate/ggated/ggated.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list