From: Trond Myklebust Date: Thu, 10 Nov 2005 02:45:24 +0000 (-0500) Subject: [PATCH] SUNRPC: don't reencode when looping in call transmit. X-Git-Tag: v2.6.15-rc1~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=940e3318c36394939d805e797d7be39ddaaa7911;p=pandora-kernel.git [PATCH] SUNRPC: don't reencode when looping in call transmit. If the call to xprt_transmit() fails due to socket buffer space exhaustion, we do not need to re-encode the RPC message when we loop back through call_transmit. Re-encoding can actually end up triggering the WARN_ON() in call_decode() if we re-encode something like a read() request and auth->au_rslack has changed. It can also cause us to increment the RPCSEC_GSS sequence number beyond the limits of the allowed window. Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed