diff options
| author | Thomas Graf <tgraf@suug.ch> | 2005-03-16 01:57:29 +0100 |
|---|---|---|
| committer | Thomas Graf <tgraf@suug.ch> | 2005-03-16 01:57:29 +0100 |
| commit | 7f96df9b98a901abe562f7da5e313e60034ce4e9 (patch) | |
| tree | 222c82e099b261f52a41efa17dc2e9bcc1b1e069 /net/core | |
| parent | 3ad701b91f476c14cd094ed0874b68fac0f16e5e (diff) | |
| download | history-7f96df9b98a901abe562f7da5e313e60034ce4e9.tar.gz history-7f96df9b98a901abe562f7da5e313e60034ce4e9.zip | |
[NET] Convert sk_user_write_queue into SOCK_USE_WRITE_QUEUE flag
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
| -rw-r--r-- | net/core/sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 252a401a0c..c3e963c9c1 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -712,7 +712,7 @@ void sock_wfree(struct sk_buff *skb) /* In case it might be waiting for more memory. */ atomic_sub(skb->truesize, &sk->sk_wmem_alloc); - if (!sk->sk_use_write_queue) + if (!sock_flag(sk, SOCK_USE_WRITE_QUEUE)) sk->sk_write_space(sk); sock_put(sk); } |
