]> git.karo-electronics.de Git - linux-beck.git/commitdiff
rxrpc: Do a little bit of tidying in the ICMP processing
authorDavid Howells <dhowells@redhat.com>
Mon, 4 Apr 2016 13:00:34 +0000 (14:00 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 15 Jun 2016 09:15:09 +0000 (10:15 +0100)
Do a little bit of tidying in the ICMP processing code.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/peer_event.c

index 6ba798d6659ecae7a3b6f22ad5a8dff2684befb7..31c440acd8c91cc0586e4bb1b8a449c38034e896 100644 (file)
@@ -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;
        }