freebsd-nq/sbin/ggate
Christian Brueffer b4a355e2f3 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
2015-07-14 09:25:10 +00:00
..
ggatec Add META_MODE support. 2015-06-13 19:20:56 +00:00
ggated If ggated's exports_find() fails, the connection is removed before 2015-07-14 09:25:10 +00:00
ggatel Add META_MODE support. 2015-06-13 19:20:56 +00:00
shared Make sure the compiler knows g_gate_xvlog() and g_gate_xlog() do not 2012-08-06 21:02:40 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc