Date: Wed, 1 Jul 2009 16:38:18 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/rpc clnt_dg.c Message-ID: <200907011638.n61GcWFb025938@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2009-07-01 16:38:18 UTC
FreeBSD src repository
Modified files:
sys/rpc clnt_dg.c
Log:
SVN rev 195245 on 2009-07-01 16:38:18Z by rmacklem
Make sure that cr_error is set to ESHUTDOWN when closing the connection.
This is normally done by a loop in clnt_dg_close(), but requests that aren't
in the pending queue at the time of closing, don't get set. This avoids a
panic in xdrmbuf_create() when it is called with a NULL cr_mrep if
cr_error doesn't get set to ESHUTDOWN while closing.
Reviewed by: dfr
Approved by: re (Ken Smith), kib (mentor)
Revision Changes Path
1.7 +4 -2 src/sys/rpc/clnt_dg.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907011638.n61GcWFb025938>
