summaryrefslogtreecommitdiff
path: root/net/rxrpc
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-04-04 14:00:34 +0100
committerDavid Howells <dhowells@redhat.com>2016-06-15 10:15:09 +0100
commitfe77d5fc5ab33bb088cf8448767a77fdc32e08d1 (patch)
tree9c700410f141ad942cfc044fc2962428f9b00d4e /net/rxrpc
parent1c1df86fad68dd7188ea498e796c9d2ede679421 (diff)
rxrpc: Do a little bit of tidying in the ICMP processing
Do a little bit of tidying in the ICMP processing code. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc')
-rw-r--r--net/rxrpc/peer_event.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/rxrpc/peer_event.c b/net/rxrpc/peer_event.c
index 6ba798d6659e..31c440acd8c9 100644
--- a/net/rxrpc/peer_event.c
+++ b/net/rxrpc/peer_event.c
@@ -245,15 +245,13 @@ void rxrpc_UDP_error_handler(struct work_struct *work)
break;
case SO_EE_ORIGIN_LOCAL:
- _proto("Rx Received local error { error=%d }",
- ee->ee_errno);
+ _proto("Rx Received local error { error=%d }", err);
break;
case SO_EE_ORIGIN_NONE:
case SO_EE_ORIGIN_ICMP6:
default:
- _proto("Rx Received error report { orig=%u }",
- ee->ee_origin);
+ _proto("Rx Received error report { orig=%u }", ee->ee_origin);
break;
}