rxrpc: Add /proc/net/rxrpc/peers to display peer list
Add /proc/net/rxrpc/peers to display the list of peers currently active. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d275444cc3
commit
bc0e7cf433
@@ -102,6 +102,9 @@ static __net_init int rxrpc_init_net(struct net *net)
|
||||
proc_create_net("conns", 0444, rxnet->proc_net,
|
||||
&rxrpc_connection_seq_ops,
|
||||
sizeof(struct seq_net_private));
|
||||
proc_create_net("peers", 0444, rxnet->proc_net,
|
||||
&rxrpc_peer_seq_ops,
|
||||
sizeof(struct seq_net_private));
|
||||
return 0;
|
||||
|
||||
err_proc:
|
||||
|
||||
Reference in New Issue
Block a user