Skip to content

Commit

Permalink
rxrpc: Rename rxrpc_UDP_error_report() to rxrpc_error_report()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells committed Jun 15, 2016
1 parent be6e670 commit abe89ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions net/rxrpc/ar-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);

/*
Expand Down
2 changes: 1 addition & 1 deletion net/rxrpc/local_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion net/rxrpc/peer_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit abe89ef

Please sign in to comment.