瀏覽代碼

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>
David Howells 9 年之前
父節點
當前提交
fe77d5fc5a
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      net/rxrpc/peer_event.c

+ 2 - 4
net/rxrpc/peer_event.c

@@ -245,15 +245,13 @@ void rxrpc_UDP_error_handler(struct work_struct *work)
 		break;
 		break;
 
 
 	case SO_EE_ORIGIN_LOCAL:
 	case SO_EE_ORIGIN_LOCAL:
-		_proto("Rx Received local error { error=%d }",
-		       ee->ee_errno);
+		_proto("Rx Received local error { error=%d }", err);
 		break;
 		break;
 
 
 	case SO_EE_ORIGIN_NONE:
 	case SO_EE_ORIGIN_NONE:
 	case SO_EE_ORIGIN_ICMP6:
 	case SO_EE_ORIGIN_ICMP6:
 	default:
 	default:
-		_proto("Rx Received error report { orig=%u }",
-		       ee->ee_origin);
+		_proto("Rx Received error report { orig=%u }", ee->ee_origin);
 		break;
 		break;
 	}
 	}