patch-2.1.56 linux/net/sunrpc/xprt.c

Next file: linux/net/unix/garbage.c
Previous file: linux/net/sunrpc/svcsock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.55/linux/net/sunrpc/xprt.c linux/net/sunrpc/xprt.c
@@ -1073,6 +1073,7 @@
 
 	if (!(req = task->tk_rqstp))
 		return;
+	task->tk_rqstp = NULL;
 	memset(req, 0, sizeof(*req));	/* mark unused */
 
 	dprintk("RPC: %4d release request %p\n", task->tk_pid, req);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov