Commit 033b2c7f authored by David Howells's avatar David Howells Committed by David S. Miller

rxrpc: Add missing "new peer" trace

There was supposed to be a trace indicating that a new peer had been
created.  Add it.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 97bfe0e0
...@@ -209,6 +209,7 @@ static void rxrpc_assess_MTU_size(struct rxrpc_sock *rx, ...@@ -209,6 +209,7 @@ static void rxrpc_assess_MTU_size(struct rxrpc_sock *rx,
*/ */
struct rxrpc_peer *rxrpc_alloc_peer(struct rxrpc_local *local, gfp_t gfp) struct rxrpc_peer *rxrpc_alloc_peer(struct rxrpc_local *local, gfp_t gfp)
{ {
const void *here = __builtin_return_address(0);
struct rxrpc_peer *peer; struct rxrpc_peer *peer;
_enter(""); _enter("");
...@@ -230,6 +231,7 @@ struct rxrpc_peer *rxrpc_alloc_peer(struct rxrpc_local *local, gfp_t gfp) ...@@ -230,6 +231,7 @@ struct rxrpc_peer *rxrpc_alloc_peer(struct rxrpc_local *local, gfp_t gfp)
peer->cong_cwnd = 3; peer->cong_cwnd = 3;
else else
peer->cong_cwnd = 4; peer->cong_cwnd = 4;
trace_rxrpc_peer(peer, rxrpc_peer_new, 1, here);
} }
_leave(" = %p", peer); _leave(" = %p", peer);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment