Commit 2ea9fd51 authored by David Howells's avatar David Howells

rxrpc: Rename rxrpc_UDP_error_report() to rxrpc_error_report()

Rename rxrpc_UDP_error_report() to rxrpc_error_report() as it might get
called for something other than UDP.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 37205819
...@@ -681,7 +681,7 @@ static inline void rxrpc_put_local(struct rxrpc_local *local) ...@@ -681,7 +681,7 @@ static inline void rxrpc_put_local(struct rxrpc_local *local)
/* /*
* peer-event.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 *); void rxrpc_UDP_error_handler(struct work_struct *);
/* /*
......
...@@ -189,7 +189,7 @@ static int rxrpc_open_socket(struct rxrpc_local *local) ...@@ -189,7 +189,7 @@ static int rxrpc_open_socket(struct rxrpc_local *local)
sock = local->socket->sk; sock = local->socket->sk;
sock->sk_user_data = local; sock->sk_user_data = local;
sock->sk_data_ready = rxrpc_data_ready; sock->sk_data_ready = rxrpc_data_ready;
sock->sk_error_report = rxrpc_UDP_error_report; sock->sk_error_report = rxrpc_error_report;
_leave(" = 0"); _leave(" = 0");
return 0; return 0;
......
...@@ -74,7 +74,7 @@ static struct rxrpc_peer *rxrpc_find_icmp_peer_rcu(struct rxrpc_local *local, ...@@ -74,7 +74,7 @@ static struct rxrpc_peer *rxrpc_find_icmp_peer_rcu(struct rxrpc_local *local,
/* /*
* handle an error received on the local endpoint * 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 sock_exterr_skb *serr;
struct rxrpc_transport *trans; struct rxrpc_transport *trans;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment