Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5822754 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

Revert "sunrpc: fix peername failed on closed listener"



This reverts commit b292cf9c.  The
commit that it attempted to patch up,
b0401d72, was fundamentally wrong, and
will also be reverted.

Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent ab1b18f7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -706,8 +706,7 @@ int svc_recv(struct svc_rqst *rqstp, long timeout)
	spin_unlock_bh(&pool->sp_lock);

	len = 0;
	if (test_bit(XPT_LISTENER, &xprt->xpt_flags) &&
	    !test_bit(XPT_CLOSE, &xprt->xpt_flags)) {
	if (test_bit(XPT_LISTENER, &xprt->xpt_flags)) {
		struct svc_xprt *newxpt;
		newxpt = xprt->xpt_ops->xpo_accept(xprt);
		if (newxpt) {