RxRPC: Fix a potential NULL dereference
authorDavid Howells <dhowells@redhat.com>
Sat, 7 Feb 2009 05:50:52 +0000 (21:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 05:50:52 +0000 (21:50 -0800)
Fix a potential NULL dereference bug during error handling in
rxrpc_kernel_begin_call(), whereby rxrpc_put_transport() may be handed a NULL
pointer.

This was found with a code checker (http://repo.or.cz/w/smatch.git/).

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found