Skip to content

Commit

Permalink
rxrpc: Do a little bit of tidying in the ICMP processing
Browse files Browse the repository at this point in the history
Do a little bit of tidying in the ICMP processing code.

Signed-off-by: David Howells <dhowells@redhat.com>
  • Loading branch information
David Howells committed Jun 15, 2016
1 parent 1c1df86 commit fe77d5f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions net/rxrpc/peer_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fe77d5f

Please sign in to comment.