summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2005-03-16 01:57:29 +0100
committerThomas Graf <tgraf@suug.ch>2005-03-16 01:57:29 +0100
commit7f96df9b98a901abe562f7da5e313e60034ce4e9 (patch)
tree222c82e099b261f52a41efa17dc2e9bcc1b1e069 /include/net
parent3ad701b91f476c14cd094ed0874b68fac0f16e5e (diff)
[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 'include/net')
-rw-r--r--include/net/sock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 72ad43c207c2..5d7997be7f60 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -116,7 +116,6 @@ struct sock_common {
* struct sock - network layer representation of sockets
* @__sk_common - shared layout with tcp_tw_bucket
* @sk_shutdown - mask of %SEND_SHUTDOWN and/or %RCV_SHUTDOWN
- * @sk_use_write_queue - wheter to call sk->sk_write_space in sock_wfree
* @sk_userlocks - %SO_SNDBUF and %SO_RCVBUF settings
* @sk_lock - synchronizer
* @sk_rcvbuf - size of receive buffer in bytes
@@ -191,7 +190,6 @@ struct sock {
#define sk_bind_node __sk_common.skc_bind_node
#define sk_refcnt __sk_common.skc_refcnt
unsigned char sk_shutdown;
- unsigned char sk_use_write_queue;
unsigned char sk_userlocks;
socket_lock_t sk_lock;
int sk_rcvbuf;
@@ -390,6 +388,7 @@ enum sock_flags {
SOCK_BROADCAST,
SOCK_TIMESTAMP,
SOCK_ZAPPED,
+ SOCK_USE_WRITE_QUEUE, /* whether to call sk->sk_write_space in sock_wfree */
};
static inline void sock_set_flag(struct sock *sk, enum sock_flags flag)