Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16c61add authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[RXRPC] net/rxrpc/ar-connection.c: fix NULL dereference



This patch fixes a NULL dereference spotted by the Coverity checker.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7769f406
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ static struct rxrpc_connection *rxrpc_alloc_connection(gfp_t gfp)
		conn->header_size = sizeof(struct rxrpc_header);
	}

	_leave(" = %p{%d}", conn, conn->debug_id);
	_leave(" = %p{%d}", conn, conn ? conn->debug_id : 0);
	return conn;
}