diff options
author | David Howells <dhowells@redhat.com> | 2016-08-24 14:31:43 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-08-24 15:15:59 +0100 |
commit | df5d8bf70f64a2ee34234553eb215418dbc4c8f3 (patch) | |
tree | 866b273fb3eb256464fe6d10185b63054601df5a /net/ipv4/ipmr.c | |
parent | 2266ffdef5737fdfa96005204fc5606dbd559956 (diff) | |
download | op-kernel-dev-df5d8bf70f64a2ee34234553eb215418dbc4c8f3.zip op-kernel-dev-df5d8bf70f64a2ee34234553eb215418dbc4c8f3.tar.gz |
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: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/ipv4/ipmr.c')
0 files changed, 0 insertions, 0 deletions