Commit b2c9c5df authored by David S. Miller's avatar David S. Miller

iucv: Convert sk_wmem_alloc accesses to refcount_t.

Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bba5850c
...@@ -402,7 +402,7 @@ static void iucv_sock_destruct(struct sock *sk) ...@@ -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_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_wmem_queued);
WARN_ON(sk->sk_forward_alloc); WARN_ON(sk->sk_forward_alloc);
} }
......
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