sunrpc/xprtrdma/transport.c: fix use-after-free
authorAdrian Bunk <bunk@kernel.org>
Thu, 15 Nov 2007 01:00:00 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:41 +0000 (18:45 -0800)
commitd5cd97872dca9b79c31224ca014bcea7ca01f5f1
tree1d2252ebddd62fb8d6669385e58e27b489c30dba
parente02f5f52cafbea013817d81f1acc4baf50d6324b
sunrpc/xprtrdma/transport.c: fix use-after-free

Fix an obvious use-after-free spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Neil Brown <neilb@suse.de>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/sunrpc/xprtrdma/transport.c