]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
rxrpc: Rename rxrpc_UDP_error_report() to rxrpc_error_report()
authorDavid Howells <dhowells@redhat.com>
Mon, 4 Apr 2016 13:00:32 +0000 (14:00 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 15 Jun 2016 09:14:37 +0000 (10:14 +0100)
Rename rxrpc_UDP_error_report() to rxrpc_error_report() as it might get
called for something other than UDP.

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

index 7dba6677b9d5527c9112e44b0ca0a33a90cf50a0..1e5c15632f495f9336c22ad91a60db59dce533ff 100644 (file)
@@ -606,9 +606,9 @@ int rxrpc_send_packet(struct rxrpc_transport *, struct sk_buff *);
 int rxrpc_do_sendmsg(struct rxrpc_sock *, struct msghdr *, size_t);
 
 /*
- * peer_error.c
+ * peer_event.c
  */
-void rxrpc_UDP_error_report(struct sock *);
+void rxrpc_error_report(struct sock *);
 void rxrpc_UDP_error_handler(struct work_struct *);
 
 /*
index 111f250b045f977885e2234bbd794ddf6c7d165e..28f9efb3118fb4e9f8b1e7e84d092ba5fd0722c5 100644 (file)
@@ -120,7 +120,7 @@ static int rxrpc_create_local(struct rxrpc_local *local)
        sock = local->socket->sk;
        sock->sk_user_data      = local;
        sock->sk_data_ready     = rxrpc_data_ready;
-       sock->sk_error_report   = rxrpc_UDP_error_report;
+       sock->sk_error_report   = rxrpc_error_report;
        _leave(" = 0");
        return 0;
 
index 24f5ec0fcd200ab9c8d1c9a71b4f87032361d641..2c2df3a5d1b915ee3a47f746f97534142dc3f7d3 100644 (file)
@@ -74,7 +74,7 @@ static struct rxrpc_peer *rxrpc_lookup_peer_icmp_rcu(struct rxrpc_local *local,
 /*
  * handle an error received on the local endpoint
  */
-void rxrpc_UDP_error_report(struct sock *sk)
+void rxrpc_error_report(struct sock *sk)
 {
        struct sock_exterr_skb *serr;
        struct rxrpc_transport *trans;