diff options
author | David Howells <dhowells@redhat.com> | 2018-10-04 11:32:27 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-10-04 11:32:27 +0300 |
commit | d2944b1c66a502ada8aa67f508cd29ecbf035892 (patch) | |
tree | fe330bcab99215fff58ecd65a9717968db962ced /net/rxrpc/input.c | |
parent | 6f41617bf23a17d9cb7cc6ca8161534f05f80293 (diff) | |
download | linux-d2944b1c66a502ada8aa67f508cd29ecbf035892.tar.xz |
rxrpc: Use rxrpc_free_skb() rather than rxrpc_lose_skb()
rxrpc_lose_skb() is now exactly the same as rxrpc_free_skb(), so remove it
and use the latter instead.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/input.c')
-rw-r--r-- | net/rxrpc/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c index 4b86b6be6c1f..5b2626929822 100644 --- a/net/rxrpc/input.c +++ b/net/rxrpc/input.c @@ -1176,7 +1176,7 @@ void rxrpc_data_ready(struct sock *udp_sk) static int lose; if ((lose++ & 7) == 7) { trace_rxrpc_rx_lose(sp); - rxrpc_lose_skb(skb, rxrpc_skb_rx_lost); + rxrpc_free_skb(skb, rxrpc_skb_rx_lost); return; } } |