Skip to content

Commit

Permalink
iucv: Convert sk_wmem_alloc accesses to refcount_t.
Browse files Browse the repository at this point in the history
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Jul 3, 2017
1 parent bba5850 commit b2c9c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/iucv/af_iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ static void iucv_sock_destruct(struct sock *sk)
}

WARN_ON(atomic_read(&sk->sk_rmem_alloc));
WARN_ON(atomic_read(&sk->sk_wmem_alloc));
WARN_ON(refcount_read(&sk->sk_wmem_alloc));
WARN_ON(sk->sk_wmem_queued);
WARN_ON(sk->sk_forward_alloc);
}
Expand Down

0 comments on commit b2c9c5d

Please sign in to comment.