diff options
author | David Howells <dhowells@redhat.com> | 2022-05-21 09:45:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-22 22:03:01 +0200 |
commit | a05754295e01f006a651eec759c5dbe682ef6cef (patch) | |
tree | 6c0e84ca69244201fbb76aa354ffab77c0893402 /net/rxrpc/skbuff.c | |
parent | rxrpc: Allow list of in-use local UDP endpoints to be viewed in /proc (diff) | |
download | linux-a05754295e01f006a651eec759c5dbe682ef6cef.tar.xz linux-a05754295e01f006a651eec759c5dbe682ef6cef.zip |
rxrpc: Use refcount_t rather than atomic_t
Move to using refcount_t rather than atomic_t for refcounts in rxrpc.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/skbuff.c')
-rw-r--r-- | net/rxrpc/skbuff.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rxrpc/skbuff.c b/net/rxrpc/skbuff.c index 0348d2bf6f7d..580a5acffee7 100644 --- a/net/rxrpc/skbuff.c +++ b/net/rxrpc/skbuff.c @@ -71,7 +71,6 @@ void rxrpc_free_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) const void *here = __builtin_return_address(0); if (skb) { int n; - CHECK_SLAB_OKAY(&skb->users); n = atomic_dec_return(select_skb_count(skb)); trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, rxrpc_skb(skb)->rx_flags, here); |