Skip to content
Commit df5d8bf7 authored by David Howells's avatar David Howells
Browse files

rxrpc: Make /proc/net/rxrpc_calls safer



Make /proc/net/rxrpc_calls safer by stashing a copy of the peer pointer in
the rxrpc_call struct and checking in the show routine that the peer
pointer, the socket pointer and the local pointer obtained from the socket
pointer aren't NULL before we use them.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 2266ffde
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