]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Revert "sunrpc: move the close processing after do recvfrom method"
authorJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 28 Feb 2010 21:33:31 +0000 (16:33 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:34 +0000 (16:01 -0700)
commitf3fb6babd4e025fc1c4f00280e7c9486171a920e
treeabd10cc38b48f37c729d986f11e57e1982cc857e
parentc08a8108a40a68a0a9bda6d32af820a6af25c6bd
Revert "sunrpc: move the close processing after do recvfrom method"

commit 1b644b6e6f6160ae35ce4b52c2ca89ed3e356e18 upstream.

This reverts commit b0401d725334a94d57335790b8ac2404144748ee, which
moved svc_delete_xprt() outside of XPT_BUSY, and allowed it to be called
after svc_xpt_recived(), removing its last reference and destroying it
after it had already been queued for future processing.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sunrpc/svc_xprt.c